Visit Mozilla.org

XPath:Functions:count

From MDC

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

Contents


The count function counts the number of nodes in a node-set and returns an integer.

[edit] Syntax

count( node-set )

[edit] Arguments

node-set
The node set to be counted.

[edit] Returns

An integer representing the number of nodes in a node-set.

[edit] Defined

XPath 1.0 4.1

[edit] Gecko support

Supported.