Subject:Finding the maximum value Author:Minollo I. Date:09 Feb 2006 09:37 PM
In XSLT/XPath 2.0 you can use the max() function, and that makes it trivial.
In XSLT 1.0 you can use saxon:max() if you are using Saxon (see http://www.exslt.org/math/functions/max/ for similar extensions in other processors), or you can do that manually:
This code doesn't work. What i am trying to do is to write the highest Temperature in a variable and then go through each node and compare the value of the node with the variable i have created. If the two have the same value i want to print it out in a certain way.