XML in Flash

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:


<?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!