replace.xsl

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[   ]replace.xsl10-Nov-2000 14:21 3.3K 

Description: This is an example of using a named template to do substring replacement. It relies on tail recursion, in order to be XSLT 1.0 conformant. This template can be used when the XPath translate() function, which operates on single characters in a string, is insufficient. It uses the XPath functions substring-before(), substring-after(), and concat(), and is quite simple.