Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

min


math:min() returns the minimum value of a node-set.

To compute the minimum value of the node-set, the node set is sorted into ascending order as it would be using xsl:sort() with a data type of number. The minimum value is then the first node in the sorted list, converted into a number.

Note: 

Syntax

math:min(nodeSet)

Arguments

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

Returns

A result tree fragment representing the lowest valued node's numeric value as a string.

Defined

EXSLT - MATH:MIN

Gecko support

Supported in Gecko 1.9 and later.

Document Tags and Contributors

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