Hi,

right off the bat, I'm a newb at actionscript (any version), so please
bear with me.

I'm trying to load XML nodes into an associative array, using the node
name as key and inner text as value. So given this XML:

<sites>
    <site>
      <sitename>google</sitename>
      <url>http://www.google.com</url>
      <status>1</status>
     </site>
     <site>
      <sitename>yahoo</sitename>
      <url>http://www.yahoo.com</url>
      <status>0</status>
     </site>
     <site>
      <sitename>MSN</sitename>
      <url>http://www.msn.com</url>
      <status>0</status>
     </site>
</sites>

say if my XML object is myXMLoBj, how do I get to
myXMLoBj.sitename[0]...[n]?


tia,
Dylan

Reply via email to