This could help, I am also a newbie but I notticed this in your code:
1.-There are no ; at the end of the javascript code, you should put an ; at the end of each sentence
2.- delete the last ; from the xml.load("URL here";), change it to xml.load("URL here"); as this...