Ajax load XML file script
Description: This script demonstrates the concept of using Ajax to load a simple XML file and display it on the page. Ajax refers to the use of DHTML interacting with the server to display requested data (ie: xml files, submitted form data etc) without having to reload the page.
Step 1: Add the below script to the <HEAD> section of your page:
Step 2: Add the below code to the BODY section of your page, taking note of the onLoad event handler that's inserted:
Change "basic.xml" in the above code to your own XML file to display.