EXSLT - math:lowest - Developer Page

Version: 1
Status: new
Function Package: math.lowest.zip

Function Syntax

node-set math:lowest(node-set)

Template Syntax

<xsl:call-template name="math:lowest">
   <xsl:with-param name="nodes" select="node-set" />
</xsl:call-template>

The math:lowest function returns the nodes for which the result of converting the string-value of the node to a number is minimum value for the node set, as calculated with math:min.

The math:lowest template returns a result tree fragment consisting of copies of the nodes as returned by the function.

An implementation of this extension function in the EXSLT math namespace must conform to the behaviour described in this document.

Implementations

The following implementations of math:lowest are available:

LanguageImplemented VersionCreatorDateDownload
EXSLT Function1math.lowest.function.xsl
XSLT Template1math.lowest.template.xsl

Use Cases

Use Case Package: math.lowest.use-cases.zip

The following use cases illustrate the functionality of math:lowest.

DetailsCalling StylesheetXML DataExpected ResultCategoryTemplate
1math.lowest.1.xslmath.lowest.data.1.xmlmath.lowest.result.1.xmlexampleN
2math.lowest.2.xslmath.lowest.data.1.xmlmath.lowest.result.1.xmlexampleY
3math.lowest.1.xslmath.lowest.data.2.xmlmath.lowest.result.2.xmlboundaryN
4math.lowest.2.xslmath.lowest.data.2.xmlmath.lowest.result.2.xmlboundaryY
5math.lowest.3.xslmath.lowest.data.1.xml-errorN
6math.lowest.4.xslmath.lowest.data.1.xml-errorY

Change History

Submitted: 2001-03-28
Creator: Jeni Tennison(http://www.jenitennison.com)

Returns the nodes with the minimum value in a node set.

Copyright

http://www.exslt.org/math.lowest.html last modified 2001-03-28