I have been working with C# and would like to know what the easiest way to find each id of <lib>
would be?, I really am new to C# itself and especially XML so I would appreciate some help.
C#
var xmlData = client.DownloadString(figureMapUrl);
var doc = XDocument.Parse(xmlData);
XML:
<map>
<lib id="myid1" revision="1">
<part id="2732" type="ch"/>
<part id="2732" type="ls"/>
<part id="2732" type="rs"/>
<part id="2733" type="ch"/>
</lib>
<lib id="myid2" revision="2">
<part id="2732" type="ch"/>
<part id="2732" type="ls"/>
<part id="2732" type="rs"/>
<part id="2733" type="ch"/>
</lib>
</map>