> component). Flash really doens't like extraneous whitespace. I am
> generating the XML using CFXML then transmitting the XML from a CFC
> using toString(CFXMLObject). When I view the file is has boatloads of
> empty lines in it which confuses Flash brain dead parser.
>
> Why does toString produce white space? The object doesn't have empty
> nodes in it (as seen from a CFDump). How can I get rid of this
> whitespace?
I don't really know too much about the internals of XML document objects in
CF, but my suspicion is that the whitespace is created when you include
whitespace in your CFXML tag. You could remove the whitespace there, or you
could parse it out after the fact by getting rid of any whitespace between
">" and "<" characters.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

