Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

How to query a node by its attribute ?

$
0
0

Hi,

i have the following xml:

<templates><template id="1"><node id="10"></node><node id="20"></node><node id="30"></node></template><template id="2"><node id="10"></node><node id="20"></node><node id="30"></node></template></templates>

I want to get the node with the ID= 10 inside the parent node with the id=1. How could i do that? 


Best regards,
Yavuz B.

My Sharepoint and Enterprise 2.0 Blog http://www.bogazci.com |Microsoft Sharepoint Resources & Blog List


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>