ID values of texts and sub-texts
Abstract
Guidelines for encoding xml:id values on text
Encoding Instructions (new P5 version)
1. The WWP often divides longer texts, or texts which fall naturally into two or more separate parts, into separate OTs which are encoded as separate files, or as separate text elements within a group element in a single TEI file. In either case, each of these separate text elements should have an xml:id values consisting of the main TR number for the document, plus a two-digit suffix, separated by a period, as in the example below:
TEI.2
teiHeader xml:id="TR00501.hdr" [header goes here]/teiHeader
text xml:id="TR00501"
front [frontmatter for the whole volume goes here]/front
group
<text xml:id="TR00501.01">[individual text goes here]/text
<text xml:id="TR00501.02">[second individual text goes here]/text
/group
back[backmatter for the whole volume goes here]/back
/text
2. In addition to the text elements described above, there may also be embedded text elements which are used to encode div-level elements (such as letters) which appear in places where div is not permitted, or to encode textual content within figure. These embedded floatingText elements should have as their xml:id value the main TR number plus a two-digit suffix, separated by a hyphen, as in the example below:
TEI.2teiHeader.../teiHeader
<text xml:id="TR00497">bodydivptext here.../p
p<floatingText xml:id="TR00497-01">bodydivopener My dear.../openerptext of the embedded letter here/pcloserYours sincerely.../closer/div/body/floatingText/p
/div /body /text /tei.2
Note that this suffix is added in addition to the suffix (if any) indicating that the text is part of a larger OT. Thus for instance the first embedded letter inside a novel which was itself the second novel in a volume containing several other novels would have an xml:id value in three parts:
TR00525[for the main volume].02[for the novel itself]-01[for the letter]:
TR00525.02-01
These suffixes should be numbered consecutively through the text, so if you have five embedded letters in a novel you’re encoding (whose TR number is TR00408), the xml:id values of the embedded text elements should be:
TR00408-01
TR00408-02
TR00408-03
TR00408-04
TR00408-05