[xsl] Modify acronym replace "function"

Subject: [xsl] Modify acronym replace "function"
From: Sven Waibel <sven.waibel@xxxxxxxx>
Date: Thu, 24 Nov 2005 08:20:06 +0100
Good morning,

i want to use the example from

http://www.dpawson.co.uk/xsl/sect2/replace.html#d8104e115

but i want to hold everything in one document.
So how can i modify this text for using it inside my xslt.

<xsl:param name="acronyms"
    select="document('../xml/acronyms.xml')/acronyms/acronym" />


my xsl:


...
here the acronym replace "function"
...
..
<xsl:template name="acro">
<acronyms>
	<acronym acronym="vorbedingung">PRECONDITION</acronym>
	<acronym acronym="Vorbedingung">PRECONDITION</acronym>
	<acronym acronym="VORBEDINGUNG">PRECONDITION</acronym>
</acronyms>
</xsl:template>
....
..
	
Thanks a lot

Sven

Current Thread