Subject: Re: [xsl] Replace function From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Fri, 22 Oct 2010 14:11:33 +0200 |
Hi,
Is there a function in XSLT to replace characters from a string that are not present in a set of characters?
For example if the string is "ABCD", the valid character set is [A, B, C] and the replacement charcater is '-', the function will return 'ABC-'.
XSLT/XPath 2.0: replace("ABCD", "[^ABC]", "-")
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Replace function, Meeraj Kunnumpurath | Thread | Re: [xsl] Replace function, David Carlisle |
[xsl] Replace function, Meeraj Kunnumpurath | Date | Re: [xsl] Replace function, David Carlisle |
Month |