Browsing the tag Xml
22:08 2009/05/19
I got some xml text line break issues in my latest project. The texts look good viewing them locally, but when uploading the project to the customer server I get a lot of extra line breaks. I am not really sure why this problem occurs but I guess it has to do with the server platform. I tried to save the xml with a different encoding but with no luck so I wrote this simple method. It works.
public function fixLineBreakIssues(value : String) : String { return value.split("\r").join(""); } // usage txtField.htmlText = fixLineBreakIssues(xmlText);

