# XML in Flash

**URL:** <https://forum.kirupa.com/t/xml-in-flash/173278>\
**Category:** Uncategorized\
**Created:** [December 22, 2005, 8:47pm UTC](https://forum.kirupa.com/t/xml-in-flash/173278 "2005-12-22T20:47:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deltajam](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@deltajam](https://forum.kirupa.com/u/deltajam)\
**Post date:** [December 22, 2005, 8:47pm UTC](https://forum.kirupa.com/t/xml-in-flash/173278/1 "2005-12-22T20:47:37Z")

</div>

Hi, I’m new to XML and would like to know the best way to write my XML file for flash to read. Right now I have set up my file like so:

```php

<?xml version="1.0" encoding="iso-8859-1"?>
<siteText>
<channel>
<code>New Code 1</code>
<address>New Address 1</address>
<name>New Name 1</name>
<desc>New Desc 1</desc>
</channel>
<channel>
<code>New Code 2</code>
<address>New Address 2</address>
<name>New Name 2</name>
<desc>New Desc 2</desc>
</channel>
...
 
...and so on

```

Is there an advantage to using attributes? I jsut need some solid tips here…

Thank you!
