You are on page 1of 1

<!

DOCTYPE html>
<html>
<head>
<script src="javascript1.js"></script>
</head>
<body>
<script>
xmlDoc=loadXMLDoc("xml1.xml");
x=xmlDoc.getElementByTagName("title");
for(i=0;i<x.length;i++)
{
document.write(x[i].childNodes[0].nodeValue);
document.write("<br>");
}
</script>
</body>
</html>

You might also like