SelectNodes with XPath ignoring cases in node names

BrugJursoks

New Member
I have a problem similar to the question SelectNodes with XPath ignoring cases but in my case the uppercase/lowercase problem is in the node with the name 'application' (Sometimes is 'Application' other times 'application'). How would i apply the solution of the other post? or a different one applies in this case?xml:\[code\]<?xml version="1.0" encoding="utf-16" ?><application> <forms> <action type="update"> <form uid="" > </form> </action> </forms></application>\[/code\]In C# 3.5:\[code\]XmlNode nodex= oXMLDoc1.SelectSingleNode("Application/forms/action/form/@uid")nodex.Value="http://stackoverflow.com/questions/11048628/UniqueIDx";//nodex is null :S\[/code\]
 
Back
Top