Whilst there is a possibility that this is a idea which may have a small amount of merit, I think that using XML is rather stupid, for example, I calculated that using your format which contains only minimal information, a single train takes up about 1kb if it has 10 wagons. So 1000 trains, which is possible and your xml document is already 1 MB, which is starting to get pretty big. Say you take records once a year for 100 game years. Now youve got 100MB of data, which is pretty big, and any sort of analysis will start to take a very long time.
Using JSON the same data takes up only about half the space, and in a csv the space is even smaller.
The comment about extra values being difficult in csv is flawed.
For example consider
Code: Select all
player;colour;money
1;blue;125230
2;green;1433202
3;blue;94231
If you want something extra, you simply add an extra column which is ignored in parser versions which do not recoginize the column header. For XML it means updating whatever XLST you are using, probably updating the schema and writing new code to query that tag from a document
I fail to see why XML is any better than CSV