Yes, this is possible, but the original cfcontent is a beter way to do it if
it works, because this file will just sit around otherwise.

Maybe try using text/xml instead of text/plain in the cfcontent? Try that
first.

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

James

That seems to work !!! the data has been written to the text file

Is it possible after the XML file has been converted to the text file that a
message would be displayed on screen to inform the user of progress with a
link to the text file created ?


At present it is just a blank screen, can this be achieved ?

--------------
<cffile action="upload"
        filefield="UploadFile"
        destination="#GetTempDirectory()#"
        nameconflict="overwrite">

<cffile action="read"
        file="#GetTempDirectory()##cffile.serverfile#"
        variable="myxml">
                
<CFSET mystylesheet = ExpandPath("newparse.xsl")>

<!--- Read XSLT file into string variable called MyXsltCode---> <CFFILE
action="READ" file="#mystylesheet#" VARIABLE="MyXSLTCode">

<!--- Perform the XSLT --->
<CFSET TransformedXmlCode = XmlTransform(myxml, MyXSLTCode)>


<cffile action="WRITE" output="#TransformedXmlCode#"
file="\testpages\sample.txt">

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:194226
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