[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How can I chang the value og a global variable?


Subject: Re: [xsl] How can I chang the value og a global variable?
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Thu, 14 Nov 2002 13:29:54 -0000

Hi,
XSLT doesnt allow you to change the value of the Variable once assigned.
If you explain what you actually intend to do with an example of your XML,
and an example of your intended output, Some one in the list can definitely
tell you a way of solving it.
Vasu
----- Original Message -----
From: "Marcial Atienzar Navarro" <maratna@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, November 14, 2002 10:28 AM
Subject: Re: [xsl] How can I chang the value og a global variable?


> Hello,
>
>  I need to change the value, because, in another template I use the value
of
> this variable, and if I use the shadow property I loose the changes that
in this
> template occurs.
>
>  Thanks,
>
>    Marcial Atienzar
>
>
> Missatge citat per: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>:
>
> > Marcial Atienzar Navarro wrote:
> >
> > >  I need to change the value of a gloabal variable inside a template.
> > Is it
> > > possible? How could be tthe best way?.
> >
> > No way at all, all you can do is to create local variable with the same
> > name,
> > then this local variable will shadow global one.
> > Why do you want to change a value of variable?
> >
> > --
> > Oleg Tkachenko
> > eXperanto team
> > Multiconn Technologies, Israel
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> >
>
>  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
Keywords