Hi,

Can someone post code that shows how to pass parameters to an XSLT
transformation using CF?

Here's the code that I've got so far:

<cfobject action="create" class="MSXML2.DOMDocument" name="xml">
<cfobject action="create" class="MSXML2.DOMDocument" name="xsl">
<cfset xml.async = false>
<cfset xsl.async = false>
<cfset xml.load("http://127.0.0.1/edrive/soxml/tes1.xml";)>
<cfset xsl.load("http://127.0.0.1/edrive/soxml/tes2.xsl";)>
<cfset xHTML = xml.transformNode(xsl)>

<cfoutpuT>#Xhtml#</cfoutput>

Thanks!!


David Grogan
[EMAIL PROTECTED]
http://www.cast.org

CAST
39 Cross Street
Peabody, MA 01960
Tel: 978-531-8555 Ext 255


-----------------------+
cf-xml mailing list
list: [EMAIL PROTECTED]
admin: [EMAIL PROTECTED]
home: http://torchbox.com/xml

Reply via email to