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:
> > IMHO user defined functions should not depent implicitely of the
> > context where they are called...
> It also undermines the equality between: [ calling named templates
  and  <xsl:copy-of select="my:foo()" /> ]

That's a valid point. I didn't remember that named templates
inherit the context from where they were called, probably
because i've been bitten a few times by this feature and i
now prefer to pass everything through parameters, even ".".

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]