[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: Re: Increment/decrement a variable in XSL
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Petr Cimprich > Sent: Thursday, April 04, 2002 2:41 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|