Strip < Character from XML content

Zippo

New Member
I have an XML Document where it contains data with \[code\]<\[/code\] character.\[code\]<Tunings> <Notes>Norm <150 mg/dl</Notes></Tunings>\[/code\]The code I am using is:\[code\]StreamReader objReader = new StreamReader(strFile);string strData = http://stackoverflow.com/questions/15716105/objReader.ReadToEnd();XmlDocument doc = new XmlDocument();// Here I want to strip those characters from"strData"doc.LoadXml(strData);\[/code\]So it gives error:\[quote\] Name cannot begin with the '1' character, hexadecimal value 0x31.\[/quote\]So is there a way to strip those characters from XML before Load calls.?
 
Back
Top