xsl-list
[Top] [All Lists]

RE: RE: displaying characters

2004-12-16 04:47:03
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(_dot_)curry(_at_)pa(_dot_)press(_dot_)net] 
Sent: 16 December 2004 11:37
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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>&#21;</xsl:text>

Brings up the below error...

example.xsl:87: parser error : xmlParseCharRef: invalid 
xmlChar value 21
<xsl:text>&#21;</xsl:text>

Now for standard characters this works but not for these.

Any helo would be appreciated.

Cheers

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>