+ 1
XML is a tree by design. So if you have a very hierarchical structure xml can be useful for clarity. I guess, that is why the big GUI frameworks use it to describe windows.
23rd Apr 2017, 3:38 PM
1of3
1of3 - avatar
+ 8
First thing that comes to my mind: With xml you can validate your document against a xsd. So that may be the better choice if you want to exchange data with a second party.
23rd Apr 2017, 10:05 AM
Tashi N
Tashi N - avatar
+ 6
Advantages: XML, older and more established. slightly more human-readable. JSON, more concise, faster. Circumstances: dictated by whatever frameworks and APIs demand.
23rd Apr 2017, 10:02 AM
Leon
Leon - avatar
+ 1
Sharing data across different platforms when json is not an option.
23rd Apr 2017, 10:11 AM
CalviŐČ
CalviŐČ - avatar