This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XPath: all elements with only non-parent children with identical style attr
- From: Tobias Reif <tobiasreif at pinkjuice dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 12 Dec 2001 01:49:54 +0100
- Subject: Re: [xsl] XPath: all elements with only non-parent children with identical style attr
- References: <007701c182a3$d2f05350$2100a8c0@swiftnet.tec>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Chris,
thanks, but I need it to be pure XPath; it'll be used in a Ruby program,
not an XSLT one.
Jeni kindly provided me this one:
*[* and
not(*/node()) and
not(*[not(@style)]) and
not(*/@style != */@style)]
Tobi
--
Tobias Reif
http://www.pinkjuice.com/myDigitalProfile.xhtml
go_to('www.ruby-lang.org').get(ruby).play.create.have_fun
http://www.pinkjuice.com/ruby/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list