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 04:02:40


Sorry, that was garbled, even by my standards.
try again:




If you have access to x:node-set (most xslt 1 systems other than
mozilla have it) then 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>
--~--