what xpath can I use to get the highest id? i.e. 5
thanks
Kal
/*/item/@id[not(. < ../../item/@id)]
Hope this helped.
Cheers,Dimitre Novatchev