Well, I know its a bit stupid. If I want to store a large amount of data. Should I use xml or database(mysql)?
First of all, XML is hierarchic by its nature, while MySQL is relational.
If you will store your data as XML document:
<customer>
<address/>
<address/>
</customer>
, it's super easy to obtain all addresses of a customer, but not so easy to obtain customers for a given address.
Second, XML is more user-oriented. You can easily edit it with your favourite text editor. In MySQL, it's not so easy.
Given all above, if your data are hierarchical, small in size and you need them to be easily editable without any frontend, use XML.
If your data are relational and you need fast set operations on large quantities of data, use MySQL.