Hi,

<main label="root" nodeId="1" mainId="-1">
  <main  mainId="1" nodeId="3" label="ABC" isRoot="true"
isBranch="true">
    <main  mainId="3" nodeId="2" label="BCD"/>
    <main  mainIdId="3" nodeId="4" label="CDE" isBranch="true">
      <main  mainId="4" nodeId="7" label="FCE" />
    </main>
    <main  mainId="3" nodeId="12" label="FGH" />
    <main mainId="3" nodeId="19" label="DEF"/>
    <main  mainId="3" nodeId="30" label="YUD" isBranch="true">
      <main  mainId="30" nodeId="726" label="BCV"/>
    </main>
    <main  mainId="3" nodeId="32" label="CAK"/>
    <main label="MNC" nodeId="20"  mainId="3"/>
  </main>
</main>

I want to traverse this xml and construct a hashmap with mainId as the
key and all that have same mainId(refers to nodeId of parent) as a
collection for that key.
I want to know the possible ways how can traverse this xml and
construct a actionscript object that shows the relationship.

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to