Double spacing using XML?

Hi first time here and would really appreciate some help with XML and Flash 8.

Basically I am trying to parse data from XML file into a dynamic text box in Flash, it all works fine until I try to parse data so each line is directly under each other. For example

<name>John
Peter
Alex</name>

should appear in Flash like

John
Peter
Alex

but instead its adding an extra line so it appears like

John

Peter

Alex

I’ve been using notepad then moved on to using dreamweaver to create the XML file but still no luck. Any advice would be really helpful.

Not really on the topic but I resolved the issue with XML text not showing up completely. It’s about the character entities…special characters must be converted to some code I don’t know the exact name. For example, “ç” must appear as

ç

on your xml file. It should also be encoded as UTF-8, or flash won’t display the special characters.

Ok I can’t get the code for the “ç” to show, the board is interpreting it.

Check out a complete list of characters:

http://www.cssplay.co.uk/menu/code.html