[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Matching a list of attributes

Subject: Re: Matching a list of attributes
From: chris <oneskiingfool@xxxxxxxxx>
Date: Fri, 4 Feb 2005 09:31:22 -0700
xpath list of attributes
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.