Re: [xsl] Check a node in my XML contains a particular value!

Subject: Re: [xsl] Check a node in my XML contains a particular value!
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 13 May 2002 14:35:34 +0100
> back with the usage of <xsl:when test="contains(wcc/wcc-category-oid,
> 'CSE')">, but this only checks that both string values are identical
> (I think, correct me if I am wrong). 

no contains()  is true if one string is a substring of the other, you'd
use = for string equality.

Did you try contains?

David



_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread