xsl-list
[Top] [All Lists]

Re: [xsl] define a global variable and change it

2008-08-12 09:36:59
I wrote a small writeup about XSLT variables some time back. It's
available at: http://gandhimukul.tripod.com/xslt/facts.html. I added
Colin's thought also to this article.

On Tue, Aug 12, 2008 at 9:32 PM, Colin Paul Adams
<colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk> wrote:
"Henry" == henry human <henry_human(_at_)yahoo(_dot_)de> writes:

   Henry> Hi is it possible to define a global variable with xsl?

Yes.

   Henry> am going to define such varable to be able changing its
   Henry> value some where inside the stylesheet.

You can't assign values to variables in XSLT. Variables in XSLT are
like variables in mathematics - they are definitions of values, not
memory locations.
--
Colin Adams
Preston Lancashire


-- 
Regards,
Mukul Gandhi

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--