Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

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: ???

Syntax

math:highest(nodeSet)

Parameters

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

Returns

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

Defined

EXSLT - MATH:HIGHEST

Gecko support

Supported in Gecko 1.9 and later.

Document Tags and Contributors

 Contributors to this page: Sheppy, ethertank, Potappo, Mgjbot, Talisker, Fredchat
 Last updated by: Sheppy,