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

Re: select elements based on another element's attribu

Subject: Re: select elements based on another element's attributes
From: "Lars Nyman" <larsnyman@xxxxxxxxxxxxx>
Date: Wed, 24 Jul 2002 18:18:28 -0700
alma elias
Jeni,

>   $widget-ref/@*[name() = $widget/attrs/attr[@public = 'true']/@name]

Ahh!  It never occurred to me to add a predicate to filter the attr nodes
"while their @name were being tested for equality against name()".  I had
struggled with how to add that additional test.

Thank you!

And thanks for the remark about writing a good question...  I am glad I got
my question across and I am very grateful for your precise answer!

Lars


 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.