The XML data is not the only way how to pass data from the server to browser. The data can be passwd as XML, HTML, just a string, or JSON.
What is JSON?
JSON is JavaScript Object Notation. It is much easy to work with JSON then parse XML data.
When you receive JSON data from the server you will need to evaluate the data into variable and access the data as structure or an array.
This is JSON data:
[ { author: 'name a', title: 'title #1' },
{ author: 'name b', title: 'title #2' },
{ author: 'name b', title: 'title #3' } ]
This is how to access this data:
var books = reval( req.responseText ); element.innerHTML = books[0].author;
This is how to modify and produce JSON stream:
books[0].author = "me"; String newJSONstream = books.toJSONString();
This is simple. Enjoy!
Ironing a button-down shirt is a bit of an acquired skill. 