Today I stumbled upon the following problem while parsing an xml: I tried to parse an attribute of an XML node which contained ‘\n’-characters and tried to put this parsed text into a dynamic text field on the stage.
Guess what, instead of parsing ‘\n’ to a newline, AS3 showed me the ‘\n’ in my text. This is not as I had hoped.
You can fix this very easily by changing the ‘\n’-characters in your XML to:
Original:
<book name="my \n book"></book>Changed:
<book name="my book"></book>You can find other codes to replace characters with on this reference: w3 schools

February 25, 2009
A “br” tag will work aswell.