"XSLT 2.0 3rd edition" from Michael Kay page 574 says, that
the supplied ~ third argument must not be the document node,
but any node of the source document.
Is this a bug in Saxon or one of the things that changed in
the spec after publishing the book? I didn't find the part in
the online documentation, where the xslt functions are described.
The spec changed after the book was published. The key() function now
searches within the subtree rooted at the node supplied as the third
argument.
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>
--~--