checking for valid xml characters before writing data to an xml file?
807589Dec 16 2008 — edited Dec 16 2008I'm writing data to an xml file and I'm already going through each character one by one. I just wanted to know if there was a way to check if the character that I'm currently looking at is a valid xml character. For example, I can't open the following with an xml editor: "Z^&59Ñ?Ut¦£ii Z¸x0EP¦¤~Úyäè(L0aÒ)àÔ&¸Ý-©4¯¡¾" All I want to do is just replace each invalid character with the blank character. Thanks!
Edited by: setaret2004 on Dec 16, 2008 12:03 PM