|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: Re: Change of Attribute Value
Mike,
At 12:37 PM 11/4/2005, you wrote: > > Not quite. The principal node kind for the self axis is > elements, but self::node() will find any kind of node, and > therefore self::node()[local-name()='xyz'] will work. Yes, quite. Thanks for the correction. When not in a boolean context, one might avoid self::node()[local-name()='xyz'] as it also selects any self <xyz> elements you have cluttering your data. If you know you're on an attribute, the boolean test suffices. 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. Cheers, Wendell
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








