Skip to content

Main text

Aldo Ismael Barriente edited this page Dec 30, 2020 · 3 revisions

Back to Wiki Home

The main text must match the divisions defined in the TEI header (or vice versa). There are three main elements when encoding a text using TEI that have some necessary attributes for CTS-compliancy. These are the <text> element, the <body> element, and the <div> elements. The <div> elements are noted as plural to account for the levels of division within a text (for a brief discussion on the usage of "levels of division," see the section on the TEI Header under "Encoding Description).

The <text> element

The <text> element must have an n attribute set equal to the work URN. For our text, this means the URN base, the {NAMESPACE} component, and all of the subcomponents of the {WORK} component. For the K'iche' column of Ximenez's edition, this results in the following URN: urn:cts:mayaLit:lit0001.pw0001.popolwuj-quc.

The <body> element

The <body> element must have an xml:lang attribute set equal to the ISO 639 code of the text's language. Similar to the <text> element, it must also have the same n attribute set equal to the work URN.

The <div> elements

For a CTS-compliant text, it seems generally accepted to use the <div> to provide the levels of divisions of the text. To provide further information about the name given to the division, this is generally done with a type or subtype attribute.

The first <div> element pertinent to our text serves to define the entire "column" of Ximenez's text.

The following <div> elements generally haver three attributes. The first is a type attribute set equal to textpart. The second is a subtype attribute set equal to the name of that division. Finally, there must be an n attribute set equal to a unique character. Certain characters are not allowed (see the following sections on testing for more information).

Clone this wiki locally