How is it failed? Just compared to, like, the prevalence of HTML?
I've worked in web dev for almost 20 years. Almost every year has had some kind of work with XML.