Difference between revisions of "Text structure (ePistolarium)"
From XML
(Use of group discontinued) |
(Add comment) |
||
Line 16: | Line 16: | ||
</text> | </text> | ||
</pre> | </pre> | ||
+ | |||
+ | The <code>text</code> and <code>body</code> elements serve as a container for the actual text. The TEI Guidelines allow for <code>front</code> and <code>back</code> elements as siblings of <code>body</code>, but these are not used. | ||
+ | |||
+ | The <code>type</code> attribute of the <code>div</code> element is used to distinguish between various parts of the text, the most important ones being <code>artifact</code> for the 'real' letter text and <code>notes</code> for the text of (editorial) notes. |
Revision as of 11:43, 4 January 2018
The documents in the ePistolarium have the following basic structure:
<text> <body> <div xml:id="div-1" type="artifact" subtype="letter"> ... </div> <div xml:id="div-2" type="para"> ... </div> <div xml:id="div-3" type="notes"> ... </div> </body> </text>
The text
and body
elements serve as a container for the actual text. The TEI Guidelines allow for front
and back
elements as siblings of body
, but these are not used.
The type
attribute of the div
element is used to distinguish between various parts of the text, the most important ones being artifact
for the 'real' letter text and notes
for the text of (editorial) notes.