Remove the word 'and' in XSLT using translate function



I would like to remove the word 'and' from a string using the translate function rather than using a replace .


for instance:



<xsl:variable name="nme" select="translate(./Name/text(), ',:, '')" />


in addition to ",:" i would like to remove the word and as well. Please suggest.


No comments:

Post a Comment