URGENT: Removing Bad Characters from an XML File
Posted on 2003-12-03
I have an xml file that has some characters which are no allowed in XML files (I don't know what these characters are, but its throwing an error because the char code is 0x16 when I try to call XmlDocument.Load. When I display the character, it is just the standard bad char square.
My Question is this, what is the best way to go through the file, replace all of the bad chars with white space? What are invalid characters in an xml file?