Unique identification of the text element
Abstract
Details on using the xml:id attribute on text, both for independent documents and for embedded texts
Encoding Instructions (new P5 version)
The WWP requires the use of the xml:id attribute on the text and floatingTextelements. For the outermost text elements of the file (i.e. those which correspond to actual transcribed documents) the value of this xml:id should be the transcription ID number of the file (e.g. TR00326.06). For floatingText elements which are embedded inside another text (for instance, a single letter embedded within a div element), we use an xml:id value composed of the transcription ID number plus a hyphenated numerical suffix. Note that (as in the example just given) some transcription IDs already have numerical suffixes (indicating that they are parts of larger works: for instance, an individual novel within a collection). These higher-level suffixes are attached using a period; the suffixes for embedded texts are attached using a hyphen. Suffixes for embedded texts should start with “-01” and should proceed in the order in which they appear in the file, as in the example.
Examples
Example 1.
<text xml:id="TR00326.06">
[...some of outer text element...]
<floatingText xml:id="TR00326.06-01">
<body>
<div type="letter">
<head>Letter.</head>
[content of letter]
</div>
</body>
</floatingText>
[...more of outer text element...]
<floatingText xml:id="TR00326.06-02">
<body>
<div type="letter">
<head>Another Letter.</head> ...
</div>
</body>
</floatingText>
[...remainder of outer text element...]
</text>