Re: cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Joel Black
Great idea, but could not get a replace() to work. There is nother there to replace? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;20717

Re: cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Joel Black
Thanks for the suggestion. I tried it, but got the same outcome. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Arch

Re: cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Joel Black
Both very good solutions, but neither is working. I tried doing a replace() while processing, but there is nother there to replace. I tried \r\n, \r. Didnt get an error, but got the same outcome. I also tried supressing white space, with processing directive, same outcome. The generated XM

Re: cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Rob Parkhill
Try wrapping the content in a Rob On Thu, Apr 16, 2009 at 12:56 PM, Ben Nadel wrote: > > This might be a line-delimiter problem. I believe windows uses both the > return and newline characters: > > \r\n > > Linux based machines, on the other hand, I think only use one of the > them...\n maybe?

Re: cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Ben Nadel
This might be a line-delimiter problem. I believe windows uses both the return and newline characters: \r\n Linux based machines, on the other hand, I think only use one of the them...\n maybe? Not sure. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager

cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Joel Black
I have a very strange issue and need someone to tell me im not crazy. I an querying a database, saving the content , and writing it to an xml file. The formatting is all perfect to the format we had testing the xml file. By the way, flash is reading the XML. The strange part, the applicatio