I agree with Eliot. Both XML and JSON are relevant and both have their own strengths. What matters in the end is that this is all arborescent, semi-structured data, and that both, in the end, need the same kind of technology (parsing, validating, transforming, querying, updating, storing, etc).