1 Reply Latest reply on Sep 26, 2009 11:14 PM by Flex harUI

    Immediate children of XML

    drillnaut Level 1

      Hello Everyone ,

        I'm working with xml and I would like to get the immediate children of a node , but not the grandchildren and for surely not the great grandchildren.

      For example


      <file name="parent">

        <file name="rock"/>

        <file name="the">

          <file name="vote"/>


        <file name="house/>



      So in the above xml , I would like to return "rock" , "the" , "house"  but not the vote since it is not an immediate child of the node with the name "parent"


      Sincerely ,