Earlier quoted context omitted.
How does this relate to navigating structured documents? Even if you use XML, presumably you will want to programmatically navigate/query it at some point.
That's my whole point. The tools for navigating, transforming, streaming, parsing, etc. XML are genuinely terrific, like nothing else, and it's demoralizing to see younger devs throw it all away because they prefer not to have to learn anything with more than trivial complexity.
Find me a programming language where objects have attributes, the order of members is significant and can be interleaved, everything is stringly typed etc...
It's a shame because I agree the tooling for XML is still better than JSON. But not better enough that it's worth fighting the data model mismatch.