Difference between revisions of "Global division of the XML/TEI file"
From XML
(<) |
|||
Line 4: | Line 4: | ||
# If relevant, a [[Facsimile (Mondrian)|facsimile]] section for identifying the digital image files of the source in a <facsimile> element (optional). | # If relevant, a [[Facsimile (Mondrian)|facsimile]] section for identifying the digital image files of the source in a <facsimile> element (optional). | ||
# The actual [[Transcription|transcription]] of the text in a <text> element (mandatory). | # The actual [[Transcription|transcription]] of the text in a <text> element (mandatory). | ||
+ | |||
+ | This is how the elements would be displayed together in an XML file: | ||
+ | |||
+ | <pre> | ||
+ | <teiHeader> | ||
+ | <!--...--> | ||
+ | </teiHeader> | ||
+ | <facsimile> | ||
+ | <!--...--> | ||
+ | </facsimile> | ||
+ | <text> | ||
+ | <body> | ||
+ | <!--...--> | ||
+ | </body> | ||
+ | </text> | ||
+ | </pre> | ||
Other matters, such as the introduction, preliminary pages and [[Secondary files|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 as well as the way in which the individual elements are filled in can also vary per project. | Other matters, such as the introduction, preliminary pages and [[Secondary files|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 as well as the way in which the individual elements are filled in can also vary per project. | ||
+ | |||
==See also== | ==See also== |
Revision as of 13:48, 25 January 2017
An XML/TEI file consists of several mandatory and if so desired optional sections, that are each encoded within their own XML elements:
- The TEI Header, which contains the metadata about the text in a <teiHeader> element (mandatory).
- If relevant, a facsimile section for identifying the digital image files of the source in a <facsimile> element (optional).
- The actual transcription of the text in a <text> element (mandatory).
This is how the elements would be displayed together in an XML file:
<teiHeader> <!--...--> </teiHeader> <facsimile> <!--...--> </facsimile> <text> <body> <!--...--> </body> </text>
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 as well as the way in which the individual elements are filled in can also vary per project.