From LINQ to XPath and Back Again
Posted by: K. Scott Allen,
on 05 Jun 2009 |
View original | Bookmarked: 0 time(s)
Lets say you wanted to select the parts for a Lenovo X60 laptop from the following XML. <Root>
<Manufacturer Name="Lenovo=">
<Model Name="X60=" >
<Parts>
<!-- ... -->
</Parts>
</Model>
<Model Name="X200=">
<!-- ... -->
</Model>
</Manufacturer>
<Manufacturer Name="...=" />
<Manufacturer Name="...=" />
<Manufacturer Name="...=" />
<Manufacturer Name="...=" />
</Root>
If...