加法和其他数学运算 [英] Addition and other math action

查看:70
本文介绍了加法和其他数学运算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

推荐答案

node/node" < xsl:variable 名称 =" < xsl:call-template 名称 =" > < xsl:with-param 名称 =" 选择 ="
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 >
nodeList[position() > 1]"/> </xsl:call-template> </xsl:variable> </xsl:for-each> </xsl:variable>



我如何在每个循环之后将



how can i after every loop add


iterative_result添加到
iterative_result to


这篇关于加法和其他数学运算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆