Subject: Re: Calculation of Minimum or Maximum value of an element
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 11 Nov 2002 20:51:43 -0700 (MST)
|
Chitra Lalita Madhwacharyula wrote:
> Can anyone please tell me how to calculate the minimum or
> maximum values of a set of nodes and display them using XSLT ?
> For e.g if I have
> <A>300</A>
> <A>250</A>
> <A>900</A>
> How can I write a template or a function which calculates the
> least A element value and displays it ???
This is in the FAQ.
http://www.dpawson.co.uk/xsl/sect2/N5121.html#d4545e199
- Mike
____________________________________________________________________________
mike j. brown | xml/xslt: http://skew.org/xml/
denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|