Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用xslt循环时忽略xml节点集合的第一个元素_Xslt - Fatal编程技术网

使用xslt循环时忽略xml节点集合的第一个元素

使用xslt循环时忽略xml节点集合的第一个元素,xslt,Xslt,我正在循环使用一个xml组件,每个xml组件都使用xslt 我需要忽略第一个元素,考虑循环时的其余部分。< /P> 谁能帮我一下吗。 我是xslt新手 谢谢你。 拉马纳·库马尔。 <xsl:for-each select="...your xpath..."> <xsl:if test="position()!=1"> <!-- ignore first node --> ..code here... </xsl:if&g

我正在循环使用一个xml组件,每个xml组件都使用xslt 我需要忽略第一个元素,考虑循环时的其余部分。< /P> 谁能帮我一下吗。 我是xslt新手

谢谢你。 拉马纳·库马尔。


<xsl:for-each select="...your xpath...">
    <xsl:if test="position()!=1"> <!-- ignore first node -->
        ..code here...
    </xsl:if>
</xsl:for-each>
…代码在这里。。。