In the November issue of my Occasional Newsletter, there was a writeup on
using XML with CF. You can find a copy online at www.halhelms.com.
Hal Helms
== See www.ColdFusionTraining.com for info on "Best Practices with
ColdFusion & Fusebox" training, Jan 22-25 ==
-----Original Message-----
From: Nathan Shaw [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 8:45 AM
To: Fusebox
Subject: CF, XML and XSL?
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