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

selection by comparing attributes

Subject: selection by comparing attributes
From: Larry Blanchette <Larry.Blanchette@xxxxxxxxxxxxx>
Date: Tue, 16 Feb 1999 09:48:10 -0800
larry blanchette
I'm trying to do a selection by comparing attributes.  I saw the
following example:

Find all books where the value of the style attribute on the book is
equal to the value of the specialty attribute of the bookstore element
at the root of the document:

       book[/bookstore/@specialty = @style]

at http://www.microsoft.com/workshop/xml/xsl/reference/Examples.asp

XT complains that a quoted string is expected, this follows the WD.

How would you do this without using id()?

Larry Blanchette



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.