But anyway, I understand that there are other reasons that
user-defined functions in XSLT 2.0 can't use context
information (not that I can remember what they are right now...).
It was mainly done for optimization reasons. It's much easier to
optimize a function call if you know exactly what context information it
depends on.
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list