How is XML data used?
XML is a way to separate data from the way it is presented.
It simplifies sharing of information/data with other computer systems.
XML is just a way to store data and this data can be presented/displayed via different formats via HTML.
The main benefit of using XML is data formats can be different for many types of software systems and using XML ensures you can import the data into your own system before parsing it for display.