xsl-list
[Top] [All Lists]

Re: Matching a list of attributes

2005-02-04 01:27:28
"chris" == chris  <oneskiingfool(_at_)gmail(_dot_)com> writes:

    chris> I realize I can do this, but this will get very tedious...
    chris> <xsl:template match="volume/book[chapter/@title =
    chris> 'monkeys'] | volume/book[chapter/@title = 'buffalo']"/>

Why is this tedious?

    chris> I'm using xpath & xslt 2.0.

    chris> Any ideas?  Thanks!

fn:matches?
-- 
Colin Paul Adams
Preston Lancashire

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