Re: [xsl] Function arguments (was regexps once)

Subject: Re: [xsl] Function arguments (was regexps once)
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Mon, 14 Jan 2002 10:48:40 +0100
Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> 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


Current Thread