ALEXCONTINI(_at_)terra(_dot_)es schrieb:
Hi,
the extension don't function, what´s up?
Try and build a *minimal* example using just one RTF variable, one
template and the exsl:node-set() function. If it still doesn't work,
post your minimal example together with the precise error message your
processor gives you, and the name of your processor, too.
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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--