have an XML:
<Main>
<CoreList>
<Element>A</Element>
<AllowValue>
<Display>AF04 </Display>
</AllowValue>
</CoreList>
<CoreList>
<Element>B</Element>
<AllowValue>
<Display>BF01 </Display>
</AllowValue>
<AllowValue>
<Display>BF04 </Display>
</AllowValue>
<AllowValue>
<Display>BF07 </Display>
</AllowValue>
<AllowValue>
<Display>BF09 </Display>
</AllowValue>
</CoreList>
</Main>
I want to parse all the "AllowValue/Display" in the CoreList node where corelist text = "B" ...how can I do that?
<Main>
<CoreList>
<Element>A</Element>
<AllowValue>
<Display>AF04 </Display>
</AllowValue>
</CoreList>
<CoreList>
<Element>B</Element>
<AllowValue>
<Display>BF01 </Display>
</AllowValue>
<AllowValue>
<Display>BF04 </Display>
</AllowValue>
<AllowValue>
<Display>BF07 </Display>
</AllowValue>
<AllowValue>
<Display>BF09 </Display>
</AllowValue>
</CoreList>
</Main>
I want to parse all the "AllowValue/Display" in the CoreList node where corelist text = "B" ...how can I do that?