News for hackers. Stuff that matters.
Re:XML is almost always misused by benibela on Tuesday October 29, 2019 @04:50PM (#21391846)
I really like <root name="John" city="London" />

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> ?

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>.