This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Function arguments (was regexps once)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]