@renzev@lemmy.world to Programmer Humor@lemmy.mlEnglish • 3 months agoAI's take on XMLlemmy.worldimagemessage-square135fedilinkarrow-up11.26Karrow-down122cross-posted to: programmerhumor@lemmy.world
arrow-up11.24Karrow-down1imageAI's take on XMLlemmy.world@renzev@lemmy.world to Programmer Humor@lemmy.mlEnglish • 3 months agomessage-square135fedilinkcross-posted to: programmerhumor@lemmy.world
minus-square@CanadaPluslink3•edit-23 months 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-square@ClassifiedPancake@discuss.tchncs.delinkfedilink2•3 months 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.