Visit Mozilla.org

EXSLT:math:highest

From MDC

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

This article covers features introduced in Firefox 3

Contents


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.

Note: If any nodes in the node-set have a non-numeric value, this function returns NaN.

[edit] Syntax

math:highest(nodeSet)

[edit] Arguments

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

[edit] Returns

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

[edit] Defined

EXSLT - MATH:HIGHEST

[edit] Gecko support

Supported in Gecko 1.9 and later.