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

Re: Variables

Subject: Re: Variables
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Jul 2004 12:32:12 +0100
Re:  Variables
> 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...

are you sure that you need any variables at all?


You could use something like the following setup which is variable free...

<xsl:stylesheet ...
 xmlns:x="anything"
>

  <x:x  name="pages" elem="FormZoom"/>
  <x:x name="params" elem="ParametroZoom"/>

...
<xsl:template ...>
 <Event method="nextPage" target="btnProceed" type="ActionHandler">
<xsl:for-each select="document('')/*/x:x">
<xsl:attribute name="{@name}">
       <xsl:for-each
      select="/Formatos/Forms/Form/Grids/Grid/Zooms/Zoom[@Coluna!='xxx']/*[name()=current()/@elem">
  <xsl:value-of select="."/>
  <xsl:text>:</xsl:text>
</xsl:for-each>
</xsl:attribute>
</xsl:for-each>
</Event>
....

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
  • Variables
    • xptm - Mon, 12 Jul 2004 17:57:42 +0100
      • David Carlisle - Mon, 12 Jul 2004 18:12:51 +0100
        • David Carlisle - Tue, 13 Jul 2004 10:06:08 +0100
          • xptm - Tue, 13 Jul 2004 12:08:40 +0100
          • David Carlisle - Tue, 13 Jul 2004 12:32:12 +0100 <=
          • xptm - Tue, 13 Jul 2004 13:36:36 +0100
          • David Carlisle - Tue, 13 Jul 2004 14:01:08 +0100
          • xptm - Tue, 13 Jul 2004 13:37:42 +0100
        • Peter Flynn - Tue, 13 Jul 2004 10:34:55 +0100

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.