On Mon, 3 Mar 2003, Yates, Danny (ANTS) wrote:
Robert,
According to the XSLT 1.0 spec
(http://www.w3.org/TR/1999/REC-xslt-19991116),
section 5.2 (http://www.w3.org/TR/1999/REC-xslt-19991116#patterns), node()
matches "any node other than an attribute node and the root node".
which disagrees with tidwell's book, which claims that node(()
matches attributes (p. 51)
which also disagrees with kay's book, which claims that node()
does not match root, attribute *or* namespace nodes
and, related to this or not, the fact that saxon and xsltproc
generate different output from the exact same stylesheet and
XML file means that one of them is broken.
rday
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list