I'm starting from the bottom of XML and all I want to do is display the elements of one tag. You'll understand what I mean if you look at the code.
<table>
<script type="text/javascript">
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open("GET","http://imgur.com/r/funny.xml",true);
xmlhttp.send();
xmlDoc=xmlhttp.responseXML;
getElementsByTagName("hash")[0].childNodes[0].nodeValue;
<![CDATA[ document.write("<tr><img src='http://imgur.com/' + 'hash'></img></tr>")]]>
</script></table>
Thanks for the help