xsl-list
[Top] [All Lists]

Re: Variables

2004-07-13 04:32:12

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="{(_at_)name}">
       <xsl:for-each
      
select="/Formatos/Forms/Form/Grids/Grid/Zooms/Zoom[(_at_)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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>