PDA

View Full Version : XML in TextArea component


picklejar
12-08-2007, 11:22 PM
Hi,

I got a silly problem and I bet its a simple solution but its doing my head in!

I am loading an xml file, and one of the tags contains all the main body text, 3 paragraphs with a few line breaks between each. When I view the xml file in a browser all the text is broken into paragraphs as I want, however, when I load this xml into either a Text or TextArea component in Flex all the line breaks are gone and the text is merged into one huge paragraph?

Anyone have any ideas please?

Cheers