Subject: RE: RE: displaying characters
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 16 Dec 2004 11:47:03 -0000
|
These characters are not legal in XML 1.0, so they can't be present in the
input or output of an XSLT transformation.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Andrew Curry [mailto:andrew.curry@xxxxxxxxxxxx]
> Sent: 16 December 2004 11:37
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: displaying characters
>
> This is probably a simple question but i have looked around.
>
> Im trying to use the below characters in my output of my transform
>
> Dec Octal Name Value
> 1 001 SOH ^A
> 2 002 STX ^B
> 3 003 ETX ^C
> 4 004 EOT ^D
> 5 005 ENQ ^E
> 21 025 NAK ^U
> 28 034 FS ^\
> 30 036 RS ^^
> 127 177 DEL ^?
>
> Using the normal way of
>
> <xsl:text></xsl:text>
>
> Brings up the below error...
>
> example.xsl:87: parser error : xmlParseCharRef: invalid
> xmlChar value 21
> <xsl:text></xsl:text>
>
> Now for standard characters this works but not for these.
>
> Any helo would be appreciated.
>
> Cheers
|