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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP wrapper question

Status
Not open for further replies.

ncar35b

Technical User
Jan 10, 2003
55
US
Hi, I am using an ASP wrapper (MSXML) to parse my XML and XSL. The problem is I'd like to be able to put some ASP code in my XSL wrapper, but the ASP wrapper I'm using parses the XML/XSL before it would parse any ASP, giving me an error. Here is the code.

<%
Dim xmldoc
Dim xsldoc

Set xmldoc = Server.CreateObject("MSXML2.DOMDocument")
Set xsldoc = Server.CreateObject("MSXML2.DOMDocument")

xmldoc.Load Server.MapPath(Request.QueryString("xml"))
xsldoc.Load Server.MapPath(Request.QueryString("xsl"))

Response.Write xmldoc.TransformNode(xsldoc)

%>

Any clue how I could remove the XSL references and simply put my XSL code on this page? This way, I could call the XML file in the querystring, and just parse the XSL right here!

Thanks for any help!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top