beefeater267
Programmer
- Apr 6, 2005
- 79
Hi,
have the following statement:
xmlDoc.SelectSingleNode("//*[local-name() = 'item']");
Now, that selects a single node 'item'.... however, there are multiple items with attributes. How can i constrain it? I would like to select item whos name="a"
Example:
<item name="a">xxx</item>
<item name="b">yyy/item>
I couldn't figure out how to do this . Thanks
have the following statement:
xmlDoc.SelectSingleNode("//*[local-name() = 'item']");
Now, that selects a single node 'item'.... however, there are multiple items with attributes. How can i constrain it? I would like to select item whos name="a"
Example:
<item name="a">xxx</item>
<item name="b">yyy/item>
I couldn't figure out how to do this . Thanks