Let's consider a semi-structured data model like XML and a structured one like the well known relational data model.
When is better to store the data in a XML database instead of a relational dbms ?
It obviously depend on the kind of data that we want to manage, but is there a specific kind of data for which it is definitely better to use a XML database?
The only advantage I can see with XML is that we can save memory if we have entities with a lot of null values which change only in respect to the value of an attribute 'type'. In a XML file we simply do not store the attributes that would be null in a relational table.
It seems to me that there is a lot more to that, but I am clueless.