xpathGet the count of nodes


Syntax

  • count(node-set)

Parameters

functionreturns
counttotal number of nodes in the node set

Remarks

We can use this in combination of other functions and axes to suit our needs.