Hi Abel,
On 6/22/07, Abel Braaksma wrote:
If you want to count *all* nodes, I assume you mean all descendants from
block. Use: count(//node()). If you want all nodes, but not the
whitespace or text nodes, use count(//*). If you want all nodes, but not
whitespace nodes, including text nodes, you can use count(//text()[.] |
//*). etc
Actually, rather count(.//node()), count(.//*), etc... unless the OP
wants to count all nodes in the document ;)
Cheers,
Eric Bréchemier
--~------------------------------------------------------------------
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>
--~--