PDA

View Full Version : Handling 'AND' condition in Xpath expression



prext
28 May 2009, 8:56 PM
Hi,
Please let me know, how I can give an 'AND' condition in the record for a grid.

suppose my xml is



<Parent>
<Children>
<Count>3</Count>
<Male>3</Male>
</Children>
<Children>
<Count>3</Count>
<Male>2</Male>
<Female>1</Female>
</Children>
</Parent>


From the above xml, i want the grid to be loaded with all the records which have both <Male> and <Female> child tags.

Please let me know, how can i giv it in the record.

Thanks in advance!!!!!!