Implying that a function can't return any node set with
a document node?
No, implying that the whole story's longer than I want to type before
coffee: for "variable" in my reply read "sequence constructor" ie any
such thing (like a function body) that has an as attribute, but the
exact details are complicated, especialy for xsl:variable which has
several special cases to keep backward compatibility with xslt1 usage as
far as possible.
David
--
The LaTeX Companion
http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________