[Home] [By Thread] [By Date] [Recent Entries]
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
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ 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: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



