This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: select elements based on another element's attributes
- From: "Lars Nyman" <larsnyman at 14designs dot com>
- To: "Jeni Tennison" <jeni at jenitennison dot com>
- Cc: <XSL-List at lists dot mulberrytech dot com>
- Date: Wed, 24 Jul 2002 18:18:28 -0700
- Subject: Re: [xsl] select elements based on another element's attributes
- Organization: 14 Designs
- References: <054201c2334f$cdcea4a0$46d6c23f@14designs.com> <1911590010684.20020724222446@jenitennison.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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