xsl-list
[Top] [All Lists]

RE: Re: Re: Change of Attribute Value

2005-11-04 10:37:15

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.

But I forget what the problem was. In a boolean context, you can just say

test="local-name()='xyz'".


Michael Kay
http://www.saxonica.com/




--~------------------------------------------------------------------
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>
--~--