This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Check a node in my XML contains a particular value!
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 13 May 2002 14:35:34 +0100
- Subject: Re: [xsl] Check a node in my XML contains a particular value!
- References: <AD34118C0D487D478A480924DBD839F2227D14@moe.petrotechnics.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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