Menu
Hi all,
this is my first time posting, I have a bit of a problem. I am a begineer with Javascript and XML.
I am trying to write javascript code within a HTML file that will load and read an XML file, and then display the “child nodes”(?) on the HTML page by using the DOM API.
Below is the code I have written to load my XML file. What I’m wondering is does anyone know some good resources that could help me out here or have any suggestions themselves? Thanks.
<script type=”text/javascript” language=”JavaScript”>
<!–
var xmlDoc = new ActiveXObject(“Microsoft.XMLDOM”)
xmlDoc.async=”false”
xmlDoc.load(“films.xml”)
//–>
</script>