This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: character entities
- From: Joerg Pietschmann <joerg dot pietschmann at zkb dot ch>
- To: XSL List <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 20 Nov 2001 18:19:40 +0100
- Subject: Re: [xsl] character entities
- Organization: ZKB
- Reply-to: xsl-list at lists dot mulberrytech dot com
David Carlisle <davidc@nag.co.uk> wrote
[stuff]
> how would you tell the serialiser to output
[some more stuff snipped]
> as &e04BL-a; ?
These should be abolished anyway, as Jeni already mentioned.
It is tempting to replace them by
<nag:refer item="e04BL-a"/>
and use a dictionary and document() in the XSL to look it up
when necessary, or pass it through if you want to keep it.
Use a sed script to transform the entity definitions to the
dictionary and the entity references to XML elements :-)
Regards
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list