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]

RE: how can I modify global variables ?


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@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of
> Gabriel Erzse
> Sent: 12 April 2001 11:57
> To: xsl-list@lists.mulberrytech.com
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]