Characteristics of XML


<root>
  <first>
    <Subelement attr="xyz" attr2="qwr"/>
  </first>
  <second>
    <AnotherSubelement>
      ABC<Something attr="plk"/>
    </AnotherSubelement>
  </second>
  <third/>
</root>
  • Correctly nested
  • Matching tags
  • Null elements
  • Attributes with quotes
  • Well formed
  • Validated