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: Re: Re: Increment/decrement a variable in XSL


> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Petr Cimprich
> Sent: Thursday, April 04, 2002 2:41 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] Re: Re: Increment/decrement a variable in XSL
>
>
> Dimitre Novatchev wrote:
>
> >While I'm not a fan of EXSL, I feel offended for them -- they never
> >intended to propose extension functions for incrementing an
> >xsl:variable -- or am I wrong Jeny?
> >
>
> Frankly, I'm not sure about intentions of EXSLTers, but since both WD
> 1.1 and 2.0 introduce an additional type of external object to be used
> with extensions, the idea of mutable variable isn't so surprising to me.
> xsl:variable can either be bound to an external object with one or more
> mutable properties or you don't need xsl:variable at all. Nobody speaks
> of incrementing an xsl:variable.

The fact that you *can* access external stateful objects doesn't change
XSLT's nature. So you can't rely on a specific execution order, so using
this as incremental counter is doomed to fail at some point.


 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]