Sunday, December 7, 2008

Bad Characters in XML

I was recently asked by a friend, "How to ignore bad characters in an XML file?" Two ways of doing it include, using XSLT to transform the document to only use nodes that have good characters in it, or you can simply use the tags around the characters that are of a different encoding standard and the XMLDoc object will ignore it.

No comments: