Re: [xsl] Global variable

Subject: Re: [xsl] Global variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 21 Feb 2005 10:55:36 GMT
> Is this possible?

something is possible, but parhaps not what you said.

Your global variable can only have one value, and you can't set it
inside the first template as then it would be local to that template,
but you can use any umber of templates to work out teh value:

<xsl:variable name="x">
 <xsl:apply-templates mode="zzz"/>

then you can use templates in mode zzz to calculate the value.


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread