XML has many benefits going for it as a format to move data between applications and/or servers. Some of the benefits include:
XQuery, which is a tool for searching for nodes with XML. We’ve previously looked at searching XML with XQuery. While different libraries may use different implementations, they generally have something that can be used.
If you are going to be working with a lot of XML files, you may find that similar names will be used. XML allows you to prefix a namespace on nodes that might share names. This is to reduce confusion, and is why you saw gesmes in the previous example.
XML has an established record being used for many years, and thus is well supported, not only among languages, but also developers and applications. Many companies use XML for storing and transmitting data, and that isn’t likely to stop anytime soon.
Benefits of XML was originally found on Access 2 Learn