summaryrefslogtreecommitdiff
path: root/tests/exslt/math/min.2.xsl
blob: ca619cf34381351d208b92766fd9ede603ce8e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:math="http://exslt.org/math"
                exclude-result-prefixes="math">

<xsl:template match="values">
   <result>
      <xsl:text>Minimum: </xsl:text>
      <xsl:value-of select="math:min(value)" />
   </result>
</xsl:template>

</xsl:stylesheet>