XML line

i have been studing the use of xml with flash. On a couple of tutorials on xml menus i found this code.

for(a = 0; a<= items.length-1; a++){

Can anyone explain to me in depth what is happing here?

Thanks in advance!

btw, douse anyone know a good tut on making an xml menu like hga77’s?
Thanks.