[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] RE: displaying characters
Subject: RE: [xsl] RE: displaying characters From: Andrew Curry <andrew.curry@xxxxxxxxxxxx> Date: Thu, 16 Dec 2004 11:51:48 -0000 |
Thanks very much thats kind of what i read before i just wondered if there was a way around it, currently we put in a unique char and use perl (as we use gnomes libxsl perl XML::LibXSL) but we were trying to get around that. Without moving to an xml 1.1 parser then i guess this is the only real option? Is it recommended to use xml 1.1 at this time? -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: 16 December 2004 11:44 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] RE: displaying characters 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 -> |
---|---|---|
RE: [xsl] RE: displaying characters, Michael Kay | Thread | Re: [xsl] RE: displaying characters, David Carlisle |
RE: [xsl] RE: displaying characters, Michael Kay | Date | RE: [xsl] no attributes outputed wh, Andrew Welch |
Month |