I have a structure like this:
<Info ID='1'> ... <Date>2009-04-21</Date> </Info> <Info ID='2'> ... <Date>2009-04-22</Date> </Info> <Info ID='3'> ... <Date>2009-04-20</Date> </Info>
I want to get the latest date using XSLT (in this example – 2009-04-22).
Figured it out, wasn’t as hard as I thought it will be: