How could I change the CF Code below to write it to a text file instead
of displaying it on screen using CFOUTPUT so I can examine the file in
its correct format as a text file ?

<---SNIPPET------>

<CFSET TransformedXmlCode = XmlTransform(myxml, MyXSLTCode)>

<CFCONTENT type="text/plain"
RESET="Yes"><CFOUTPUT>#TransformedXmlCode#</CFOUTPUT> 

<----------------------->






-----Original Message-----
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: 11 February 2005 10:07
To: CF-Talk
Subject: RE: Strange XSLT errors with XMLTransform ?

Perhaps write the content of TransformedXmlCode to a file to examine it
and see what the error may be.

-----Original Message-----
From: Ian Vaughan [mailto:[EMAIL PROTECTED]
Sent: Friday, 11 February 2005 5:52
To: CF-Talk
Subject: RE: Strange XSLT errors with XMLTransform ?

 
Just tried adding

<?xml version="1.0" encoding="UTF-8" ?> 

To the top of the style sheet but still same error ?


Stylesheet

<?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:apd="http://www.govtalk.gov.uk/people/AddressAndPersonalDetails";>

<xsl:template match="/">



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194204
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to