XML died when the E4X extension for JavaScript died. E4X would have made JavaScript a usable format. Like JSON, just more powerful. But without E4X, with all these horrible SAX-based streaming APIs, the super-clumsy DOM API, and complicated object-mappers, using XML is a pain.