xsl-list
[Top] [All Lists]

Re: [xsl] recursive replacing strings with nodes

2010-02-19 08:29:39
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/

--~------------------------------------------------------------------
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>