In `index.html`, there is a `` tag, whose contents should be replaced with the contents of the XML file. So if the XML file contains:
Item OneItem Two
Then after the dynamic load, the HTML would be:
My question is, what function can I use in `loader.js` to load the contents straight into a variable? I have used XmlHttpRequests and the ActiveX XMLDOM parser, but all just give me a structural data model that I then have to sort through to find my elements. I don't need to parse anything, I just want to obtain all the file contents.