RE: [xsl] character special

Subject: RE: [xsl] character special
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 10 Jul 2003 16:28:49 +0100
There is no way in XSLT of manipulating characters that are illegal in
XML, such as x12.

The best solution is to generate some legal representation of this
character (some people use a processing instruction such as <?x12?>) and
then post-process the output.

Michael Kay


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of abbouh
> Sent: 10 July 2003 15:36
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] character special
> 
> 
> i want to output this character(for drawing table):
>  which has the 18 as ascii code.
> so i use :
> <xsl:text>&#18;</xsl:text>
> but i receive this error :
> Character reference "&#12" is an invalid XML character.
> in my xsl file i have:
> <xsl:output method="text" version="1.0" encoding="ISO-8859-1" 
> indent="yes" omit-xml-declaration="yes" />
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread