Modules | Implementer Page: math.lowest.html Function Syntaxnode-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
If any of the nodes in the node set has a non-numeric value, the
The Implementations
The following XSLT processors support
Implementations of ExamplesFunctionThe following example shows how to use the Source<values> <value id="one">7</value> <value id="two">11</value> <value id="three">8</value> <value id="four">4</value> </values> Stylesheet<xsl:template match="values"> <result> <xsl:text>Lowest: </xsl:text> <xsl:value-of select="math:lowest(value)/@id" /> </result> </xsl:template> Result<result>Lowest: four</result> TemplateThe following example shows how to use the Source<values> <value id="one">7</value> <value id="two">11</value> <value id="three">8</value> <value id="four">4</value> </values> Stylesheet<xsl:template match="values"> <result> <xsl:text>Lowest: </xsl:text> <xsl:call-template name="math:lowest"> <xsl:with-param name="nodes" select="value" /> </xsl:call-template> </result> </xsl:template> Result<result>Lowest: four</result> |
http://www.exslt.org/math/functions/lowest/index.html last modified 2002-11-12