Subject: Re: [xsl] RE: displaying characters From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 16 Dec 2004 11:44:02 GMT |
You can not access those characters in XML 1.0 so you can't generate or reference them at all in an pure XSLT stylesheet in the beginning xt had an extension (the nchar output method if I recall correctly) which allowed a certain element markup in the result tree to be linearised as control characters. XML 1.1 does allow these characters to be referenced as numeric character refetrences, so if you can find an XSLt system hooked on to an XML 1.1 parser, that would probably work. Or just output [[[char=1]] and post-process with sed or perl or something. I assume you are generating text output, if you are generating XML output then you need to generate XML 1.1 not XML 1.0. (version="1.1" on xsl:output, but I doubt that works on any XSLT 1.0 system. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: displaying characters, Andrew Curry | Thread | RE: [xsl] RE: displaying characters, Michael Kay |
[xsl] RE: displaying characters, Andrew Curry | Date | RE: [xsl] RE: displaying characters, Michael Kay |
Month |