This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Excluding nodes
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>, "Xmlxslt-Devel (E-mail)" <xmlxslt-devel at lists dot sourceforge dot net>
- Subject: RE: Excluding nodes
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 8 Aug 2000 10:00:48 +0100
- Reply-To: xsl-list at mulberrytech dot com
> How do I match everything except a given node?
>
> I know //*/* matches any node with an element as a parent.
No, it matches every element with an element as a parent.
> I want to match every node with an element as a parent except for one node
> with a specific name (news_detail.)
>
//*/node()[not(self::news_detail)]
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list