im a total newb at xml, i found this tutorial at w3c http://www.w3schools.com/xml/tryit.asp?filename=try_dom_xmlhttprequest_xml so i copied the whole javascript code and created an xml file myself with the tags, but when i press the button, nothing happens, interestingly once i remove one of the tags and just leave one, it works. Anybody care to explain what exactly am i doing wrong?
in my cd_catalog.xml i have
<?xml version='1.0' encoding='us-ascii'?> <CD> <ARTIST>Artist01</ARTIST> <TITLE>Title01</TITLE> </CD> <CD> <ARTIST>Artist02</ARTIST> <TITLE>Title02</TITLE> </CD>
No comments:
Post a Comment