Click here to Skip to main content
15,897,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<xsl:variable name="recursive_result">
  <xsl:for-each select="$node/node">
    <xsl:variable name="iterative_result">
      <xsl:call-template name="Nodes">
        <xsl:with-param name="node" select="$nodeList[position() > 1]"/>
      </xsl:call-template>
    </xsl:variable>
  </xsl:for-each>
</xsl:variable>


how can i after every loop add $iterative_result to $recursive_result?
Posted

1 solution

Have a look here for xslt 1.0 answer:
http://www.xml.com/pub/a/2001/05/07/xsltmath.html[^]

xslt 1.0 and 2.0:
http://www.stylusstudio.com/xsllist/200610/post70120.html[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900