Re: [xsl] Building cross-referenced texts with XSLT

Subject: Re: [xsl] Building cross-referenced texts with XSLT
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 25 Aug 2002 16:44:49 -0400
At 2002-08-25 20:56 +0200, Aaron Optimizer Digulla wrote:
How can I write a script that converts "Lady Asano" into &LadyAsano;
and "Nagao" into &Nagao; but which leaves &Nagao; (or the expanded
entity) alone?

By not using XSLT.

An XSLT stylesheet does not manipulate markup, it manipulates node trees. The XSLT processor reads the input markup and delivers node trees to the stylesheet and then takes the resulting node tree built by the stylesheet to create the output markup if so requested.

This means that entities and the manipulation of markup syntax is outside of the control of the stylesheet.

I hope this helps the understanding, though I realize it means you won't have an answer to your question.

................... Ken

-- Upcoming hands-on in-depth 3-days XSLT/XPath and/or 2-days XSL-FO: - North America: Sep 30-Oct 4,2002 - Japan: Oct 7-Oct 11,2002

G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1                Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed),
articles, training (instructor-live,Internet-live,web/CD,licensed)
Next public training:        2002-08-26,27,09-30,10-03,07,10,12-08

XSL-List info and archive:

Current Thread