Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Performance Issue

Status
Not open for further replies.

nigele2

Programmer
Oct 8, 2001
17
GB
I am using IIs with ASP and XML/XSL.

The following page works but takes 30 seconds. It takes the same time upon first load as when it calls itself. However the XML/XSL transition takes 3 seconds when run using IIS/IE6 or the SAXON XML parser.

<%@ Language=JScript %>
<html>
<head>
<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;catalog.css&quot; />
</head>
<body>
<%
if(Request.Form.Count > 0)
var strExpression = &quot;company[coname='&quot; + Request.Form(&quot;frmconame&quot;).Item + &quot;']&quot;;
else
var strExpression = &quot;company[coname='ESRI UK']&quot;;

domTocStyle = Session(&quot;domTocStyle&quot;);
var xNode = domTocStyle.selectSingleNode(&quot;//xsl:apply-templates[@mode='toc']&quot;);
xNode.setAttribute(&quot;select&quot;,strExpression);
Response.Write(Session(&quot;domCat&quot;).transformNode(domTocStyle));
%>
</body>
</html>

This is run in a frame. The outer asp loads the xml and xsl objects correctly.

What is IIS doing for the other 27 seconds?

Anyone any thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top