This assignment asks you to create an address book using Ajax. The address information should be stored in an XML file. Each entry should have a name, a home address, a phone number, and an email address. The solution requires two files: addressBook.xml, which stores the address information, and index.html, which contains the Ajax code.

addressBook.xml

The first file is an XML file storing information in the address book.

<?xml version = "1.0"?>
<addressBook>
  <person>
    <name>Herman Munster</name>
    <address>1313 Mockingbird Lane, Transylvania</address>
    <phone>(415) 555-1212</phone>
    <email>herman@munster.com</email>
  </person>
   <person>
     <name>Nicholas Nickleby</name>
   </person>
</addressBook>

index.html

The second file is the HTML page that contains ...

Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.