contains in xsl for multiple strings



I have a variable which can come with different strings


Like error = Remote error/Connection failed/ Connection Timeout/ Backend unavailable



contains($error, 'Backend') or contains($error, 'Remote') or contains($error, 'Connection')


In xsl is there a way to do all three in single contains instead of multiple times which does or functionality


can I do this contains($error, 'Backend|Remote|Connection') ?


No comments:

Post a Comment