I guess the author didn't get the purpose of XML. It doesn't have the goal to use the least amount of metadata/tags as possible. If you need that, just compress it.
Whatever, XML offers a wide range of tools, such as:
- Data in XML can be transformed into almost any other format using XSLT.
Well formed and validated, two distinct concepts. Although it is sometimes deemed a negative, having attributes as well as nodes can offer subtleties that are unmatched in other data exchange formats. While I appreciate the usefulness of JSON, XML and its siblings XPath, XSLT, etc. have their own strengths but taking advantage of them is requires thinking differently.
Well, I don't say there are not better ways, but I don't know any.
I've used XSLT a lot. It requires different thinking, if you are used to procedural programming. If you deeply understand how it works, it's pretty straightforward.
The concepts are straight-forward, but the syntax is absurd. I really liked it at first because it's functionally oriented, which is exactly what you want for transforming data. But it's so, so verbose because it's still trying to be markup instead of a programming language.
XML works very well as a serialization format. Especially when you apply schemas that are able to validate your XML structure. I agree, typing XML can be cumbersome but so can JSON (which can be quite nightmarish in larger blobs and which doesn't allow comments).