This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Excluding nodes
- To: "Xmlxslt-Devel (E-mail)" <xmlxslt-devel at lists dot sourceforge dot net>, "Xsl-List (E-mail)" <xsl-list at mulberrytech dot com>
- Subject: Excluding nodes
- From: "Bruce Long (c)" <blong at sapient dot com>
- Date: Mon, 7 Aug 2000 19:57:23 -0400
- Reply-To: xsl-list at mulberrytech dot com
Hi,
How do I match everything except a given node?
I know //*/* matches any node 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.)
Something like -
//*/*/@!=news_detail ???
I can't find an example in Michael Kay's book - is there one?
Bruce.
Bruce Long (c)
Sapient | Architects for the New Economy
Level 13, 60 Castlereagh Street Phone: +612 9210.2067
Sydney, NSW 2000 Fax: +612 9210.2500
Australia
Email: <blong@sapient.com>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list