math:highest()

math:highest() returns the node in the specified node-set with the highest value (where the highest value calculated using math:max()).

A node has this maximum value if converting its string value to a number equals the maximum value.

Syntax

math:highest(nodeSet)

Parameters

nodeSet

The node-set whose highest value is to be returned.

Return value

A result tree fragment consisting of copies of the nodes returned by math:max().

Specifications