This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Incrementing variables
- To: xsl-list at mulberrytech dot com
- Subject: RE: Incrementing variables
- From: Dylan Walsh <Dylan dot Walsh at Kadius dot com>
- Date: Wed, 6 Sep 2000 13:07:21 +0100
- Reply-To: xsl-list at mulberrytech dot com
No. Variables are variables, because at the time the stylesheet is written,
their value is not necessarily known or knowable. This is because their
value could depend on the input XML, and hence it could vary everytime the
transformation executes.
> -----Original Message-----
> From: Tom Power [SMTP:TomP@AdvantageGroup.co.nz]
> Sent: Tuesday, September 05, 2000 10:49 PM
> To: 'xsl-list@mulberrytech.com'
> Subject: RE: Incrementing variables
>
> you'd be forgiven for thinking that the 'variable' in xsl:variable means
> you
> can change the value as often as you please.
>
> the element should be named xsl:constant because that's what it is.
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list