[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Check a node in my XML contains a particular value
Hi Jeni & David, The contains function does work! David I did try contains but was not looking at the output from using that function, I was looking at the previous output from a previous problem! Sorry guyz my fault... :( Thanks to both of you for taking the time out to reply..... Regards, George -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: 13 May 2002 14:36 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Check a node in my XML contains a particular value! > 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|