XML Special Character Handling

YuRiDraGoN

New Member
VB / C# im attempting to parse the XML file which contains the special character, \[code\]replace & with &amp' with &apos< with &lt> with &gt\[/code\]the string replace did not as it replaces the special character '<' , '>' in the the tags.i tried with catch XML exceptions that didn't work when there are multiple special characters in same line, it works if only one special character in a line.the MS builtin method SecurityElement.Escape didn't work, this has to be done before the XML tags are attached.im using this file to load a SQL table.Any other solution to handle the XML multiple special characters?
 
Back
Top