2 Replies Latest reply on Jun 14, 2007 8:00 AM by Teuzze

    Retrieve node name from XML

    FlexTutor
      Hi, I have an XML file that I loaded into Flex converting it into an arrayCollection.

      If I want to retrieve the node name rather then the node content, how do i do?

      For istance:
      <root>
      <node1>content1</node1>
      <node2>content2</content2>
      </root>

      What I would like to do is to assign the text "node1" or "node2" to a variable of my Flex project.

      Is this possible?
      Many thanks to who may help.