Global division of the XML/TEI file

From XML
Revision as of 11:20, 25 January 2017 by ASC (Talk | contribs)

Jump to: navigation, search

An XML/TEI file consists of several mandatory and if so desired optional sections, that are each encoded within their own XML elements:

  1. The TEI Header, which contains the metadata about the text in a <teiHeader> element (mandatory).
  2. If relevant, a facsimile section for identifying the digital image files of the source in a <facsimile> element (optional).
  3. The actual transcription of the text in a <text> element (mandatory).

Other matters, such as the introduction, preliminary pages and secondary files, are not included in the XML/TEI file. How and where those matters are included in the digital edition differs from project to project. The number of XML files used for a single edition also varies per project.

See also