Excluding nodes

Subject: Excluding nodes
From: "Bruce Long (c)" <blong@xxxxxxxxxxx>
Date: Mon, 7 Aug 2000 19:57:23 -0400
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@xxxxxxxxxxx>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread