XML and SGML are very similar
Both are metalanguages; both allow for personalized markup language design
Both have a parser (XML processor)
Both have elements, attributes, entities (parsed and unparsed), comments, PIs...
Both have a hierarchical structure and nested tag pairs (well-formedness)