Re:XML is almost always misused
by commandlinefan on Tuesday October 29, 2019 @05:41PM
(#21392391)
Well, I would argue that he's _still_ wrong about the "right" way to represent this: the _right_ way would be: <name>John</name><city>London</city>.
It easy to query with xpath
It parses the same regardless of the order. With the right way, is <item><key>Name</key><value>John</value></item> the same as <item><value>John</value><key>Name</key></item> ?