Subject: Re: [xsl] Test syntax, compare a string to a list and return true if there's an exact match From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Thu, 12 Aug 2010 20:10:44 +0200 |
<xsl:when test="following-sibling::*[number($checkPosition)]/@class='MyTagClassTwo' or following-sibling::*[number($checkPosition)]/@class='MyTagClassThree'">
Simply compare to a sequence of string values e.g. following-sibling::*[number($checkPosition)]/@class = ('MyTagClassTwo', 'MyTagClassThree')
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Test syntax, compare a string, Peter Desjardins | Thread | Re: [xsl] Test syntax, compare a st, Peter Desjardins |
[xsl] Test syntax, compare a string, Peter Desjardins | Date | Re: [xsl] Test syntax, compare a st, Peter Desjardins |
Month |