[xsl] Re: Finding maximum among numbers

Subject: [xsl] Re: Finding maximum among numbers
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 11 Apr 2002 04:04:54 -0700 (PDT)
> I'm in a process of finding the maximum no. of <td>
> elements of the <tr> elements in a <table> element

I'd recommend that you use the maximum/minimum function of FXSL:

http://www.topxml.com/xsl/articles/fp/2.asp#maximum

which provides the most possible flexibility (a separate user-defined
compare function).

Also, do have a look at the thread "Finding maximum among numbers" from
January 2001 of this list, especially this message:

http://sources.redhat.com/ml/xsl-list/2002-04/msg00483.html



Cheers,
Dimitre Novatchev.


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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


Current Thread