I have a quesion that is just buggin me because I can't think of a way around it. It someone were to pass a XML string value to me and that string value included a node attribute which is typically enclosed in quotes. How could I take that value and do something like a SelectSingleNode with it? The string value appears to always have the "\"" values around the attribute.
For instance, if I have a node:
If I have the string is defined like:
string strTest = Q"/Family/Person ID=""Son""/BirthDate";
What I end up with is:
If I want to do something like a SelectSingleNode with that value it will not work.
The strTest.Replace("\"","") didn't work.
How would/code I get that to be:
Any info would be greatly appreciated.