On Sun, Jan 06, 2013 at 07:13:01PM +0000, Manuel Souto Pico scripsit:
Then, for the actual check, this would work if there was only one
term, but if fails for the multiple valued variable that I have:
<xsl:when test="matches(string, $target-term, 'i')">
<xsl:text>Found</xsl:text>
</xsl:when>
If I'm following this right,
<xsl:when test="some $x in $target-segment satisfies matches($x, $target-term,
'i')">
<xsl:text>Found</xsl:text>
</xsl:when>
You want to test that at least one of the values in the sequence in
$target-segment satisfies the match.
-- Graydon
--~------------------------------------------------------------------
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>
--~--