Hi Not sure if this can be done but I know someone here will know :)
using
XElement oNodeEquip = xmlDoc.XPathSelectElement("//ItemAry/Item/Equip");
how would I select Equip from the second in the following:
<TestInfo>
<ItemAry>
<Item>
<testData>ABC</testData>
</Item>
<Item>
<testData>XYZ</testData>
<Equip>xxx</Equip>
</Item>
</ItemAry>
</TestInfo>
there will always be at lease 2 <Item>
and the node I want the value from will always be in the second <Item>
this is a WPF app using .Net 4.0