Re: [xsl] Variables

Subject: Re: [xsl] Variables
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Jul 2004 10:06:08 +0100
> What i want is to have a variable to use outside the <xsl:for-each> loop, as a
> attribute
> 
>       <xsl:if test="$pages!=''">
>         <Event method="nextPage" target="btnProceed" type="ActionHandler">
>             <xsl:attribute name="next"><xsl:value-of select="$pages"
> /></xsl:attribute>
>             <xsl:attribute name="params"><xsl:value-of select="$params"
> /></xsl:attribute>
>         </Event>
>       </xsl:if>
> 
> as a concatenation of all the strings i've found.
> 
> Quoting David Carlisle <davidc@xxxxxxxxx>:
> 


well for that, you want the for-each inside the variable declaration as
you showed in your other piece of code. What was the problem with that?

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

Current Thread