[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Variables

Subject: Re: Variables
From: xptm@xxxxxxx
Date: Tue, 13 Jul 2004 12:08:40 +0100
concatenation of variable
Well, as i said in the first post, is possible that the number of vars will
grow
to a number i do not know at this time...

So maybe i'm thinking too "procedural" but it seems that having 100 for-each
loops to assign 100 vars is much more time- and resources-consuming than
having
only one for-each loop doing all the assignments.

And, as i said to Michael Kay, i have to use XSLT 1.0 . The message for
Michael
was intended to go to the list, but i'm stuck with this stupid webmail
program
that messes all the reply-to's addresses...

Sorry for that.


Quoting David Carlisle <davidc@xxxxxxxxx>:

>
>
> > 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
> ________________________________________________________________________
>
>







O SAPO ja esta livre de vmrus com a Panda Software, fique vocj tambim!
Clique em: http://antivirus.sapo.pt

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.