We use XML all the time, but it depends on the data what is the best for your project.
HTML is maybe the best example, so your using a form of XML when opening a website.
<HTML>
<BODY>
Hello World!
</BODY>
</HTML>
XML can be used for many things and is ideal if every object have a different amount of options.
<OBJECT1>
<OPTION1>
</OPTION1>
<OPTION2>
</OPTION2>
</OBJECT1>
<OBJECT1>
<OPTION1>
</OPTION1>
</OBJECT1>
If I want to use the same options for object I would rather go for a CSV type of data file.
"OBJECT1","OPTION1","OPTION2"
"OBJECT2","OPTION1","OPTION2"
"OBJECT3","OPTION1","OPTION2"
HTML is maybe the best example, so your using a form of XML when opening a website.
<HTML>
<BODY>
Hello World!
</BODY>
</HTML>
XML can be used for many things and is ideal if every object have a different amount of options.
<OBJECT1>
<OPTION1>
</OPTION1>
<OPTION2>
</OPTION2>
</OBJECT1>
<OBJECT1>
<OPTION1>
</OPTION1>
</OBJECT1>
If I want to use the same options for object I would rather go for a CSV type of data file.
"OBJECT1","OPTION1","OPTION2"
"OBJECT2","OPTION1","OPTION2"
"OBJECT3","OPTION1","OPTION2"