Has anyone had experience using CF, XML and XSL to
output HTML, WML, or any other types of files? I think
am basically looking for a translation of the ASP code
that lets you call the MSXMLDOM, pass it an XML doc
and an XSL doc and end up with an HTML doc:
<%
'Load the XML
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load(Server.MapPath("test.xml"))
'Load the XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load(Server.MapPath("test.xsl"))
'Transform the file
Response.Write(xml.transformNode(xsl))
%>
I believe that I have to use CFObject, but I have no
experience with it. I am just starting out learning
this stuff but am amazed by the potential...
TIA,
Nate
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists