fn:min

fn:min(xdt:anyAtomicType* $srcval) → xdt:anyAtomicType?

Function signature

$srcval

xdt:anyAtomicType *

Result

xdt:anyAtomicType ?

Returns the lowest value in a sequence of comparable items

XPath 2.0 Specification

Implemented. Changed in 7.4 to support any comparable type. Changed in 7.8 to convert untyped Atomic values to xs:double, and to return NaN if the input sequence contains a NaN.


fn:min(xdt:anyAtomicType* $srcval, string $collation) → xdt:anyAtomicType?

Function signature

$srcval

xdt:anyAtomicType *

$collation

xs:string

Result

xdt:anyAtomicType ?

Returns the lowest value in a sequence of strings, using a specified collation to perform the comparisons

XPath 2.0 Specification

Implemented in 7.4. Changed in 7.8 to convert untyped Atomic values to xs:double, and to return NaN if the input sequence contains a NaN.


Expand

Up  Next