basic parts of a document
  ignore swap files
  base class Element and class Document