You might want to check out SO_XML from www.siteobjects.com . The tag is
very cool and can do what you want. Teh ASP that you are showing is using
the msxml.dll and you can access that using the cfobject which is what this
tag does. Try it.

Michael Bruce
Fig Leaf Software

-----Original Message-----
From: JoshMEagle [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 8:37 AM
To: CF-Talk
Subject: XML with ColdFusion


The following code opens and outputs an XML file based on an XSL template
using ASP .... I was wondering if there are similar functions in CF or if
someone could point me in the right direction towards functions or whatnot
......

THANKS!

ASP Code Listing (sorry, I know y'all hate ASP):

<%
'Load the XML
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load(Server.MapPath("myfile.xml"))

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

Response.Write(xml.transformNode(xsl))
%>

Joshua Miller
Web Development
Eagle Technologies Group
Technology Solutions for the Next Generation
www.eagletgi.com
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to