3 ms·
No. This is not how you should approach this problem. The main problem with XML in this regard is a lack of proper data model. In JSON you have a single, mostl
by lifthrasiir 9y ago
No. This is not how you should approach this problem.
The main problem with XML in this regard is a lack of proper data model. In JSON you have a single, mostly consistent data model that is `value ::= atom | [value...] | {key:value...}`. As a data format JSON is half-baked and inefficient, but as a data model it is very clear. On the other hands, XML shines when you actually need the semi-structured markup (which would be very mouthful to represent in JSON).