Question: why xml file is used?
Answer: XML is a file extension for an Extensible Markup Language (XML) file format used to create common information formats and share both the format and the data on the World Wide Web, intranets, and elsewhere using standard ASCII text. ... Both XML and HTML contain markup symbols to describe the contents of a page or file.