Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-10-21
1
Medium Priority
?
395 Views
Last Modified: 2012-05-12
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;
0
Comment
Question by:silentthread2k
1 Comment
 
LVL 17

Accepted Solution

by:
sonawanekiran earned 2000 total points
ID: 37005978
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question