<xsl:value-of select="substring-after($cn, '\')"/>
Should return 'DEF' if there is a '\' in the variable $cn. But it returns nothing if there is no '\' in it! If this makes a difference you can test whether
contains($cn, '\')
:-)
Regards,
Joerg
[EMAIL PROTECTED] wrote:
Is it possible to parse a string in XSL? I have this variable : <xsl:value-of select="cn"/> who is ABC\DEF I want to get DEF Is there any function in XSL to do this? Thanks
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]