RE: [xsl] how can I modify global variables ?

Subject: RE: [xsl] how can I modify global variables ?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 12 Apr 2001 12:13:43 +0100
No, you cannot modify global variables. This is fundamental to the
programming style of XSLT. For the rationale, and the way of taking
advantage of this facility (!), see, for example, Chapter 8 of my XSLT
Programmer's Reference (Chap 9 in the 2nd edition).

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Gabriel Erzse
> Sent: 12 April 2001 11:57
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] how can I modify global variables ?
>
>
>     If I have template called "root" (for example) where I defined a
> variable called "rowCount" and from "root" template I call
> another template
> called "compute", is it possible to change the value of the "rowCount"
> variable from inside "compute" template ?
>
>    If yes, how can I do it ?
>
>    Thanks,
>    Gabriel Erzse.
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread