The XPath expression "node()" has a node test, but the axis
is omitted, so the fully expanded version of this address is
"child::node()". No attributes found there.
I sometimes write the axis in full - child::node() - just to make this more
clear to the reader; especially in a context like <xsl:if
test="child::node()"/>. You could also of course write
<xsl:template match="child::node() | attribute::node()">
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>
--~--