[xsl] Illegal xml chars

Subject: [xsl] Illegal xml chars
From: "Waqar Ali" <waqarali_pk@xxxxxxxxxxx>
Date: Thu, 13 Dec 2007 09:39:06 -0500

I have an illegal character in my xml (0x08 or &#x8;) and when I tries to transform it using xslt, the parser (MS .NET) gives me an error(hexadecimal value 0x08, is an invalid character). I tried everything: using different encoding, wrapping my xml data in CDATA tags but nothing seems
to be working. What do you suggest?

I may end up removing the illegal chars manually using a regular expression. Do you know one which can remove &#x8; and other illegal chars from the xml?


Current Thread