|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] selection by comparing attributes
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








