Subject: Re: Designs for XSLT functions (Was: Re: RE: syntax sugar for call-template)
From: Joe English <jenglish@xxxxxxxxxxxxx>
Date: Tue, 20 Feb 2001 08:25:37 -0800
|
David.Rosenborg wrote:
>
> > So you would advocate having the development of exsl:function include
> > adding exsl:if()?
>
> Yes, but the conditional construct cannot be an extension function since
> a function call in XPath evaluates all its parameter *before* entering
> the function.
Not necessarily; XSLT and XPATH give implementors considerable
latitude wrt evaluation strategies. I suspect that most XSLT
processors already use lazy evaluation to some degree.
--Joe English
jenglish@xxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|