Hi,
I have to traverse an xml back from the child node, if that child node
contains a specific attribute.

<root>
      <RES>
            <R N="1">
                    <FM>11580</FM>
            <SEZ N="name" V="dummy name"/>
                   <SEZ N="customData" V="customValue1"/>
                   <SEZ N="width" V="247"/>
                   <SEZ N="height" V="247"/>
                   <S>... WOW...Life sure is a mystery</S>
        </R>
              <R N="2">
                    <FM>11582</FM>
                  <SEZ N="name" V="dummy name"/>
                  <SEZ N="width" V="247"/>
                  <SEZ N="height" V="247"/>
                  <S>... WOW...Life sure is a mystery</S>
            </R>
            <R N="3">
                    <FM>11584</FM>
                  <SEZ N="name" V="dummy name"/>
                  <SEZ N="customData" V="customValue2"/>
                  <SEZ N="width" V="247"/>
                  <SEZ N="height" V="247"/>
              <S>... WOW...Life sure is a mystery</S>
            </R>
      </RES>
</root>
 Now, I want only those R nodes, where child node SEZ's has an
attribute = customData. Note, that only first, and third R nodes have
that attribute in SEZ.

Please suggest.

--
[ Komal ]

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