Discussions about XML and JSON often remind me of this comment on HN: https://news.ycombinator.com/item?id=5702868
Partial quote:
> XML can certainly be shorter than JSON and often is, and repeated tags are the best showcase for it:
<user id="abc">
<phoneNo type="home">123456789</phoneNo>
<phoneNo type="work">321654987</phoneNo>
</user>
> This turns into this beautiful JSON: [
"users": [
{
"id": "abc",
"phoneNos": [
{ "type": "home", "value": "123456789" },
{ "type": "work", "value": "321654987" }
]
}
]
]