• CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 months ago

    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?

    • ClassifiedPancake
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      No arrays are not allowed. Attributes can only be strings. But the children are kind of an array.