XML - Why use it?
Key issue is the separation of structure from presentation
Tags can be arbitrary, and have no meaning. Hence they can be chosen by the author to reflect the logical organization of the document.
Example 2
Document has high level of structure, so more meaningful searches are possible.
Example 3
Search for images of 1210: look in <descr> field, not <size>
Rendering the document for presentation is kept entirely separate, and can be done more than one way for different display purposes.