Link to home
Start Free TrialLog in
Avatar of silentthread2k
silentthread2kFlag for United States of America

asked on

Is there a way to have XmlDocument.SelectSingleNode to ignore case?

I have a webservice and sometimes people send me requests that don't match the case of the tags. Is there a way to ignore case when using SelectSingleNode.

I can make their entire input string to lower, but then that would also affect the values in the tags. Any easier way to do this....                

XmlDocument xmlDocInput;
value = xmlDocInput.SelectSingleNode("Document/Value").InnerText;
ASKER CERTIFIED SOLUTION
Avatar of Kiran Sonawane
Kiran Sonawane
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial