contains($a,$b) should return true in this situation. If it doesn't seem to
be working, then the problem probably lies elsewhere.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: cruscio(_at_)libero(_dot_)it [mailto:cruscio(_at_)libero(_dot_)it]
Sent: 07 December 2006 18:22
To: xsl-list
Subject: [xsl] Find a value in a variable
Hi,
how can I determine if a value is contained in a another
variable value?
example:
$a = "a,b,c,d"
$b = "b,c"
this statement seems not working:
<xsl:if test="not(contains($a, $b))">
Could you please help?
Thanks
Carlos
------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza
canone Telecom
http://click.libero.it/infostrada07dic06
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--