Subject: Re: [xsl] Matching a list of attributes From: chris <oneskiingfool@xxxxxxxxx> Date: Fri, 4 Feb 2005 09:31:22 -0700 |
On Fri, 04 Feb 2005 00:27:36 -0800 (PST), Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> wrote: > >>>>> "chris" == chris <oneskiingfool@xxxxxxxxx> 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? The *example* itself is not tedius.... it's just an example. Doing similar things with many more values all across my stylesheets would get very tedius. Anyway, thanks for both responses. It looks like both will work. Sorry for such basic questions. There are things that I just know I can do with xpath/xslt, but have the most difficult time finding the proper syntax. I bought the books and google everything... it just takes me hours to find what I'm looking for!... very frustating.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Matching a list of attrib, Colin Paul Adams | Thread | Re: [xsl] Matching a list of attrib, Wendell Piez |
Re: [xsl] Merging two xml documents, Mukul Gandhi | Date | Re: [xsl] Matching a list of attrib, Wendell Piez |
Month |