XML is fine when it is used for what it was intended, defining document/data structures and relatively simple data interchange. Unfortunately, a generation of developers who grew up after anybody still knew what a CPU was, let alone how to design/write efficient code of any sort have embraced it as the answer to every class of data storage / parsing problem.