> 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