This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

max value


Hello,
Is there a way to get the max value .

something that would look like and returns "11"

<xsl:template match="values">
      <xsl:value-of select="max(value)" />
</xsl:template>

<values>
   <value>7</value>
   <value>11</value>
   <value>8</value>
   <value>4</value>
</values>


Please help


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]