I think that, some people within this thread, have expressed concern that usage of XML is reducing.
An example came to my mind. I'm sure, most of us and others as well, have used the Java build framework Maven which is hugely popular. Maven's build configuration is mentioned in the file pom.xml. I therefore imply that, Maven uses XML as a primary means to manage Java builds.
I'm sure, there would be many other examples of good XML use.
--