Re: [xsl] recursive replacing strings with nodes

Subject: Re: [xsl] recursive replacing strings with nodes
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 19 Feb 2010 15:29:10 +0100
James Cummings wrote:

Define the mf:replace function:
 <xsl:function name="mf:replace" as="node()*">
   <xsl:param name="str" as="xsd:string"/>
   <xsl:param name="abbr" as="element(abbr)*"/>
which has two parameters a string and an abbr element

The second parameter is a sequence of 'abbr' elements that is shortened on each recursive call.





--


	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread