Subject: Re: Designs for XSLT functions (Was: Re: RE: syntax sugar for call-template)
From: David.Rosenborg@xxxxxxxxxx
Date: Tue, 20 Feb 2001 21:44:45 +0100
|
Hi Uche,
> > So it would be plausible for us to specify an exsl:if() function that
> > we want them implementers to implement and to write into that
> > specification that the second argument must only be evaluated if the
> > first argument is true, and the third argument must only be evaluated
> > if the first argument is false.
>
> The only thing to consider about this is that it introduces a side effect.
No, it doesn't. However, in languages where you otherwise have
side effects (like C) you have to think extra carefully about the
evaluation order.
Cheers,
</David>
David Rosenborg
Pantor Engineering AB
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|