Document node

We distinguish:

Document node
  • parent of the root element

  • may contain also PIs, notations, DOCTYPE etc. and

Root element

is the core part of an XML doc. In every file, there is just one.