xsl-list
[Top] [All Lists]

Re: Re: [xsl] Cannot process a result tree fragment as a node-set under XSLT 1.0 - My alternative don´t function

2008-04-17 03:59:49

If you have acce<xsl:variable name="total"
select="count($filter)"></xsl:variable> 

ss to x:node-set (most xslt 1 systems other tahn
mozilla have it) the it's easy. just

<xsl:variable name="filter">
 <xsl:for-each....

</xsl;for-each>
</xsl:variable>

<xsl:variable name="total" select="count(x:node-set($filter)/*)"/>


If you haven't got node-set then it's a bit less convenient.

David

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