This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Function arguments (was regexps once)
- From: Joerg Pietschmann <joerg dot pietschmann at zkb dot ch>
- To: XSL List <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 14 Jan 2002 10:48:40 +0100
- Subject: Re: [xsl] Function arguments (was regexps once)
- Organization: ZKB
- Reply-to: xsl-list at lists dot mulberrytech dot com
Jeni Tennison <jeni@jenitennison.com> wrote:
> the only exising built-in function that returns
> a node tree - document() -
What about current()?
IMHO user defined functions should not depent implicitely
of the context where they are called, they not be allowed
to invoke current(), nor position() and last() outside
of places where XPath provides a context. Necessary context
information can always be passed explicitely (no need to go
through the discussion of the "dynamic binding" thread
again...)
Regards
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list