I'm using this method to convert an XML doc & XSLT stylesheet to an XHTML file:
Code:
<%
'Load XML
Dim xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load("http://DOMAIN/DIRECTORY/FILENAME.xml")
'Load XSL
Dim xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("http://DOMAIN/DIRECTORY/FILENAME.xsl")
'Transform file
Response.Write(xml.transformNode(xsl))
%>
...but how would I go about converting 2 or more XML docs and 1 XSLT stylesheet into one XHTML file? I understand that I probably need to add another XML doc to load in this file, like this:
Code:
'Load XML
Dim xml1 = Server.CreateObject("Microsoft.XMLDOM")
xml1.async = false
xml1.load("http://DOMAIN/DIRECTORY/FILENAME1.xml")
Dim xml2 = Server.CreateObject("Microsoft.XMLDOM")
xml2.async = false
xml2.load("http://DOMAIN/DIRECTORY/FILENAME2.xml")
...but how Do I actually go about transforming both XML docs & 1 XSLT stylesheet into one XHTML file with the "transformNode" method? Thanks for any help.
KWilliams