# Double spacing using XML?

**URL:** <https://forum.kirupa.com/t/double-spacing-using-xml/182076>\
**Category:** flash\
**Created:** [March 15, 2006, 11:41am UTC](https://forum.kirupa.com/t/double-spacing-using-xml/182076 "2006-03-15T11:41:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcc49](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mcc49/32/2247_2.png) [@mcc49](https://forum.kirupa.com/u/mcc49)\
**Post date:** [March 15, 2006, 11:41am UTC](https://forum.kirupa.com/t/double-spacing-using-xml/182076/1 "2006-03-15T11:41:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![BDore](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@BDore](https://forum.kirupa.com/u/BDore)\
**Post date:** [March 28, 2006, 7:41pm UTC](https://forum.kirupa.com/t/double-spacing-using-xml/182076/2 "2006-03-28T19:41:54Z")

</div>

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

```auto
ç

```

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](http://www.cssplay.co.uk/menu/code.html)
