This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Excluding nodes


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]