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!!
<%
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!!