EXSLT - math:highest - Use Case 4

Category: boundary
Function or Template: template

Use Case

Source

<values />

Stylesheet

<xsl:template match="values">
   <result>
      <xsl:text>Highest: </xsl:text>
      <xsl:call-template name="math:highest">
         <xsl:with-param name="nodes"
                         select="value" />
      </xsl:call-template>
   </result>
</xsl:template>

Result

<result>Highest: </result>

Change History

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

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

Copyright

http://www.exslt.org/math.highest.use-case.4.html last modified 2001-03-28