How do I remove non-alphanumeric characters from a string in XSL?
Thanks!
How do I remove non-alphanumeric characters from a string in XSL?
Thanks!
If you define non-alphanumeric as [^a-zA-Z0-9]
:
<xsl:value-of select="
translate(
string,
translate(
string,
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789',
''
),
''
)
" />