XML was initially designed to transform and store data. I think that it is largely used for the representation of non-methodical data structures, for example in web services. XML is also plays a significant role during the exchange of a large variety of data on the Web and everywhere else.