Re: [xsl] Re: Re: Change of Attribute Value

Subject: Re: [xsl] Re: Re: Change of Attribute Value
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 4 Nov 2005 22:10:28 GMT
> Bottom line is that XPath 1.0 gives no way to select all attributes 
> *except* a given one other than the resort to the name test.

> XPath 2.0 can select "@* except attribute(xyz)", which is very nice.

which means in xpath 1 you can select

 @*[count(.|../@xyz)=2] which is even nicer?

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread