[Home] [By Thread] [By Date] [Recent Entries]
ALEXCONTINI@xxxxxxxx schrieb:
Hi,
Okay, try the following minimal example: <xsl:transform version="1.0"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="filtro">
<Elm/>
<Elm/>
</xsl:variable>
<xsl:template match="/">
<xsl:comment>
<xsl:value-of select="system-property('xsl:vendor')"/>
</xsl:comment>
<xsl:variable name="total" select="count(exsl:node-set($filtro)/Elm)"/>
<Res>
<xsl:copy-of select="$total"/>
</Res>
</xsl:template>
</xsl:transform>The output should be: <!--name of you processor--> <Res>2</Res> Michael
|

Cart



