renzev@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years agoAI's take on XMLlemmy.worldexternal-linkmessage-square128linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkAI's take on XMLlemmy.worldrenzev@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square128linkfedilink
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up0·edit-22 years agoHmm, so in tree terms, each node has two distinct types of children, only one of which can have their own children. That sounds more ambiguity-introducing than helpful to me, but that’s just a matter of taste. Can you do lists in XML as well?
minus-squareClassifiedPancake@discuss.tchncs.delinkfedilinkarrow-up0·2 years agoNo arrays are not allowed. Attributes can only be strings. But the children are kind of an array.
Hmm, so in tree terms, each node has two distinct types of children, only one of which can have their own children. That sounds more ambiguity-introducing than helpful to me, but that’s just a matter of taste. Can you do lists in XML as well?
No arrays are not allowed. Attributes can only be strings. But the children are kind of an array.