Re: [xsl] Modify acronym replace "function"

Subject: Re: [xsl] Modify acronym replace "function"
From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx>
Date: Thu, 24 Nov 2005 08:47:08 +0100
Good morning to you, as well Sven (you do realise that it might be
evening or in the middle of the night elsewhere :-)

If you want to hold the variable in the xsl document, then you will
have to do something like this:

At the top level:
> <acronyms>
>        <acronym acronym="vorbedingung">PRECONDITION</acronym>
>        <acronym acronym="Vorbedingung">PRECONDITION</acronym>
>        <acronym acronym="VORBEDINGUNG">PRECONDITION</acronym>
> </acronyms>

Then have a variable (also top-level) like this:
<xsl:variable name="acronyms" select="document('')/xsl:stylesheet/acronyms"/>

This will select the acronyms element, and you will be able to
navigate through its children.

You can also take a look at the thread starting at this point:
http://www.biglist.com/lists/xsl-list/archives/200210/msg01196.html

Regards,
Ragulf Pickaxe :-)

Current Thread