Attributes are nodes, but node() doesn't match attribute nodes.
You need to be careful here. As a NodeTest, node() does match attribute
nodes. But as an AxisStep, it doesn't, because it's then short for
child::node(), and there are no attributes on the child axis. If you use the
attribute axis, then attribute::node() will indeed match all attributes.
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>
--~--