xsl-list
[Top] [All Lists]

RE: character special

2003-07-10 08:28:49
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(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
abbouh
Sent: 10 July 2003 15:36
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
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



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