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]

Re: Finding maximum among numbers


> 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


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