Subject: Re: [xsl] U+0007 From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx> Date: Fri, 22 Jan 2010 01:52:07 +0100 |
Alternatively, you can output characters that are disallowed in XML by using the processing instruction
<xsl:processing-instruction name="hex.ascii" select="'07'"/>
together with<xsl:output saxon:recognize-binary="yes"/>
#7 is actually the BEL character - in my youth, if you sent it to a teletype, it rang the bell (a real bell, not just an electronic beep). Using it to mean "indent to here" seems to be code abuse.
Regards,
Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
-----Original Message----- From: Imsieke, Gerrit, le-tex [mailto:gerrit.imsieke@xxxxxxxxx] Sent: 21 January 2010 23:58 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] U+0007
Dear List Members,
I need to output<xsl:text></xsl:text> for InDesign (see http://www.indiscripts.com/blog/public/data/idcs4-special-char acters/en_InDesignCS4SpecialChars.pdf#page=2 -- it's the 'Indent to Here' metacharacter).
Saxon or rather the parser tells me: SXXP0003: Error reported by XML parser: Character reference "" is an invalid XML character.
But http://www.fileformat.info/info/unicode/char/7/index.htm tells me that's a Unicode character, and so does http://www.unicode.org/charts/PDF/U0000.pdf.
	 is no problem at all, for example.
Wil xsl:character-map help in some way?
Any help appreciated.
Gerrit
-- Gerrit Imsieke Geschdftsf|hrer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@xxxxxxxxx, http://www.le-tex.de
Registergericht / Commercial Register: Amtsgericht Leipzig Registernummer / Registration Number: HRB 24930
Geschdftsf|hrer: Gerrit Imsieke, Svea Jelonek, Thomas Schmidt, Dr. Reinhard Vvckler
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] U+0007, Michael Kay | Thread | Re: [xsl] U+0007, Liam R E Quin |
RE: [xsl] U+0007, Michael Kay | Date | Re: [xsl] U+0007, Liam R E Quin |
Month |