I have an XML Document that specifies certain data instead data nodes like so:
<data type= "arbitrary value">Value</data>
I need to be able to look through this document and select the above node.
XmlNode node = xmlDoc.SelectSingleNode(data[contains(.,'arbitrary value')]);
The above statement does not work.
How can I find nodes with a certain "type"?