Subject: Re: [xsl] Re: Re: Change of Attribute Value From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 04 Nov 2005 17:45:56 -0500 |
> 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?
-- World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: Re: Change of Attribu, David Carlisle | Thread | Re: [xsl] Re: Re: Change of Attribu, Wendell Piez |
Re: [xsl] Re: Re: Change of Attribu, David Carlisle | Date | Re: [xsl] xsl:key only checks first, Patrick Warren |
Month |