ColdFusion, AJAX and web...
<book>
<chapter1>
</chapter1>
<chapter2>
</chapter2>
</book>
To me, this is badly written XML for a number of reasons:
1. It semantically makes no sense.
2. It is hard to parse.
The reason I think that this is not semantically correct is an XML document should describe the structure of the information, not the information itself. The
<book>
<chapter name="introduction" number="1">
<title />
<body />
</chapter>
<chapter name="chapter2" number="2">
<title />
<body />
</chapter>
</book>