Question: what are the advantages of using xml?
Answer: XML uses human, not computer, language. XML is readable and understandable, even by novices, and no more difficult to code than HTML.
XML is completely compatible with Java™ and 100% portable. Any application that can process XML can use your information, regardless of platform.
XML is extendable.