Transform XML File with XSL Stylesheet





-15
Date Submitted Wed. Nov. 9th, 2005 7:55 PM
Revision 1 of 1
Beginner vinnie
Tags CPlusPlus | XML | XSL
Comments 3 comments
Transform XML File with XSL Stylesheet
<%
Function loadXMLfile(sXml, sXsl)
'sXml is the relative path to your XML file
'sXml is the relative path to your XSL stylesheet
'Load XML
Dim xml, xsl
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load(Server.MapPath(sXml))

'Load XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load(Server.MapPath(sXsl))

'Transform file
loadXMLfile = xml.transformNode(xsl)
End Function

%>

Comments

Comments C++?
Wed. Aug. 30th, 2006 9:31 PM    Newbie Hameed
Comments Confused!!!
Mon. Oct. 9th, 2006 7:33 AM    Newbie chekar
Comments Tags?
Wed. Feb. 22nd, 2006 5:12 PM    Newbie TheMuuj

Voting