xsl-list
[Top] [All Lists]

Re: Modify acronym replace "function"

2005-11-24 00:47:08
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 :-)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>