We are doing some XML with CF and happily using CFSOXML from siteobjects.com
It's open source so you can modify it for your needs (I changed it to detect
date fields and then parse them instead of just taking them in as strings)
or in your case just read through the source CFML to get a working example
of using MS XMLDOM via CFOBJECT they even have an example of converting XML
to HTML.

HTH,
Noam
P.S. the above may sound like a plug but just to clarify I am not associated
with site objects, just a happy user, don't even know if the term user
applies as it's a freeware.


        ----------
        From:  Nathan Shaw [SMTP:[EMAIL PROTECTED]]
        Sent:  Friday, 22 December 2000 14:45
        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

Reply via email to