Subject: Re: [xsl] Illegal xml chars From: "Waqar Ali" <waqarali_pk@xxxxxxxxxxx> Date: Thu, 13 Dec 2007 10:00:55 -0500 |
Thanks, -Waqar
From: Alice Wei <ajwei@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Illegal xml chars Date: Thu, 13 Dec 2007 09:47:26 -0500
Hi, Waqar:
Mind if I ask what is it you tried to put in your XML? As far as I know, 0x08 is not an existing character (and neither is . That is why it is giving you weird characters when you transform it. I am also surprised that it allows you to transform when you have this kind of character.
Hope this helps.
Alice
Quoting Waqar Ali <waqarali_pk@xxxxxxxxxxx>:
Hello:
I have an illegal character in my xml (0x08 or ) 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 and other illegal chars from the xml?
Thanks, -Waqar
Alice Wei MIS 2008 School of Library and Information Science Indiana University Bloomington
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Illegal xml chars, Alice Wei | Thread | RE: [xsl] Illegal xml chars, Michael Kay |
Re: [xsl] Illegal xml chars, Andrew Welch | Date | Re: [xsl] Illegal xml chars, Martin Honnen |
Month |