xsl-list
[Top] [All Lists]

Re: [xsl] Test syntax, compare a string to a list and return true if there's an exact match

2010-08-12 13:16:12
On Thu, Aug 12, 2010 at 2:10 PM, Martin Honnen 
<Martin(_dot_)Honnen(_at_)gmx(_dot_)de> wrote:

Simply compare to a sequence of string values e.g.
 following-sibling::*[number($checkPosition)]/@class
 = ('MyTagClassTwo', 'MyTagClassThree')

That is simple, you can tell I'm new at this. I'll put the sequence of
string values in a parameter and I'll be able to reuse my template in
different situations.

Thanks very much!

Peter

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>