xsl-list
[Top] [All Lists]

Re: Re: Re: Change of Attribute Value

2005-11-04 15:10:28


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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--