so, do you think this should work? <cfoutput>
<cfsavecontent variable="tony"> <![CDATA[#FinalChop#]]> </cfsavecontent> </cfoutput> btw, the value of final chop, is about 1900 characters of xml code, a response from an asp web service, that has been len()'d then lefted and righted to get a middle section, the only section i need, then parse in this new variable called "tony" to then write to a cffile xml file. tony -----Original Message----- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 11:00 PM To: CF-Talk Subject: RE: cfsavecontent > heres whats not parsing.... > <cfsavecontent variable="tony"> > <![CDATA[<cfoutput>#xmlFormat('#FinalChop#')#</cfoutput>]] > > > </cfsavecontent> > its returning this: > <![CDATA[;CREDITDATA&]]> > and thats not correct. That's a problem with the xmlFormat() function -- or the way it's being used -- I'm not familiar with the function, so I don't know what it's supposed to do, although my _guess_ ( if I had to guess ) would be that it's intended to make a string "xml-safe" like jsstringformat() does for javascript or the way that htmleditformat() makes a string "html-safe" ... What is the value of FinalChop prior to using the xmlFormat() function on it? And what is the expected output? Incidentally, you don't need the single-quotes or the pound-symbols surrounding FinalChop ... #xmlFormat(finalChop)# should do the same thing, and with less typing, is easier to read and slightly more efficient for the parser. Final thing -- I would still recommend putting the <cfoutput> tags outside the <cfsavecontent> tags if for no other reason than legibility ... that way, they're not muddling up the xml packet in your code, and the xml packet should be easier to read. Isaac Dealey Certified Advanced ColdFusion Developer www.turnkey.to 954-776-0046 ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

