count

Usage

count xpath

Aliases

print_value, get

Description

Calculate a given xpath expression. If the result is a node-list, return number of nodes in the node-list. If the xpath results in a boolean, numeric or literal value, return the value.