Sorry for this processor-specific question, but does Saxon 6.5.2 support http://www.exslt.org/exsl/elements/document/
No, it doesn't. Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list