Re:How to Avoid Being Called a Bozo When Producing XML (2005)
by lmm on Monday August 01, 2016 @05:54AM
(#12201195)
> I don't quite see why you can't do the same with xml; maybe it needs some more typing, but it is expressing the same thing.
It's not idiomatic though - the dog's paws aren't "healths". The point is that in XML each tag is expected to have a label and be an entity in its own right, whereas in JSON you expect each field to be an attribute.
It's not idiomatic though - the dog's paws aren't "healths". The point is that in XML each tag is expected to have a label and be an entity in its own right, whereas in JSON you expect each field to be an attribute.