frippa@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agoYes, I program in HTMLlemmy.mlimagemessage-square44fedilinkarrow-up1415arrow-down124
arrow-up1391arrow-down1imageYes, I program in HTMLlemmy.mlfrippa@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square44fedilink
minus-squareDiplomjodler@feddit.delinkfedilinkarrow-up8·1 year agoWhich is true for the majority of all XML files I’ve ever come across in the wild.
minus-squareSubArcticTundra@lemmy.mllinkfedilinkarrow-up4·1 year agoI think XML only makes sense if your data is heavily tree-like
minus-squareSubArcticTundra@lemmy.mllinkfedilinkarrow-up1·edit-21 year agoJSON spreads out tree nodes vertically (with all the attributes), whereas in XML it’s usually one node per line, ie. more compact I suppose. This is just my very niche opinion though
Which is true for the majority of all XML files I’ve ever come across in the wild.
I think XML only makes sense if your data is heavily tree-like
In that case, why not use JSON?
JSON spreads out tree nodes vertically (with all the attributes), whereas in XML it’s usually one node per line, ie. more compact I suppose. This is just my very niche opinion though