xsl-list
[Top] [All Lists]

Re: RE: displaying characters

2004-12-16 04:44:02

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
________________________________________________________________________

--~------------------------------------------------------------------
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>