Link XML (When using a sort sort list)?

Hi,

I’m trying to use this script:

http://www.kirupa.com/web/xml/examples/sortedgradeslist.htm

It does what I want with regards to sorting, but what I would like is each ‘student’ to be a clickable link to somewhere. Is this possible and if so can anyone help me please?

Thanks!
Matt