Applying 2 XSL stylesheets
Code:
Code:
strStyle = "stylesheet1.xslt"
strStyle2 = "stylesheet2.xslt"
set xsl = server.CreateObject("MSXML2.FreeThreadedDOMDocument")
xsl.async = false
xsl.validateOnParse = false
xsl.load(Server.MapPath(strStyle))
set xsl2 = server.CreateObject("MSXML2.FreeThreadedDOMDocument")
xsl2.async = false
xsl2.validateOnParse = false
xsl2.load(Server.MapPath(strStyle2))
strXML = xmlDoc.TransformNode(xsl)
response.write strXML.TransformNode(xsl2)
Where am I going wrong in the above code?
I want to apply a stylesheet to my XMl doc to produce another XMl file, I then want to use a second stylesheet to show this file in HTML.
I am having trouble applying a second stylsheet.
RKW