EXSLT:math:min
Un article de MDC.
Cette page est en cours de traduction, son contenu peut donc être incomplet ou contenir des parties en anglais. N'hésitez pas à participer à sa traduction à partir de EXSLT:math:min
Cet article traite de fonctionnalités introduites dans Firefox 3
Sommaire |
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 : If the node-set is empty or the result of converting any of its string values to numbers is
NaN, this function returns NaN.[modifier] Syntax
math:min(nodeSet)
[modifier] Arguments
nodeSet- The node-set whose lowest value is to be returned.
[modifier] Returns
A result tree fragment representing the lowest valued node's numeric value as a string.
[modifier] Defined
[modifier] Gecko support
Supported in Gecko 1.9 and later.