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"/>
</xsl:variable>
then you can use templates in mode zzz to calculate the value.
David
________________________________________________________________________
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:
http://www.star.net.uk
________________________________________________________________________
--~------------------------------------------------------------------
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>
--~--