If you really want to keep them in one file, the TEI does have a
(somewhat funky) mechanism for handling this using the decls=
attribute. See below.
But my preferred method, I think, would be to encode them as 3
separate files each with its own TEI header, and then XInclude the
<text> elements into a driver file. This permits the individual
letters to be mixed & matched into different anthologies at whim.
Here's what the driver file might look like, presuming that each
encoded letter had xml:id="txt" on its <text> element:
<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>My Letter Collection</title>
</titleStmt>
<publicationStmt>
<p>blah blah ...</p>
</publicationStmt>
<sourceDesc>
<p>this file born digital; see <gi>sourceDesc</gi>s in
included files for source information about individual letters</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<group>
<xi:include href="letter1.xml" xpointer="txt">
<xi:fallback>
<text>
<body>
<ab>ERROR: could not find letter1.xml#txt</ab>
</body>
</text>
</xi:fallback>
</xi:include>
<xi:include href="letter2.xml" xpointer="txt">
<xi:fallback>
<text>
<body>
<ab>ERROR: could not find letter1.xml#txt</ab>
</body>
</text>
</xi:fallback>
</xi:include>
<xi:include href="letter3.xml" xpointer="txt">
<xi:fallback>
<text>
<body>
<ab>ERROR: could not find letter1.xml#txt</ab>
</body>
</text>
</xi:fallback>
</xi:include>
</group>
</text>
</TEI>
below
-----
Sample encoding using decls=
<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>The Letters of Cat & Bat</title>
</titleStmt>
<publicationStmt>
<p>blah blah ...</p>
</publicationStmt>
<sourceDesc default="false" xml:id="letter1">
<msDesc>
<msIdentifier>
<settlement>Gotham City</settlement>
<institution>Hudon University Library</institution>
<collection>criminals and crimefighters</collection>
<idno type="folder">23</idno>
</msIdentifier>
<history>
<origin>found in 2047 during an excavation under the former Wayne Towers</origin>
</history>
</msDesc>
</sourceDesc>
<sourceDesc default="false" xml:id="letter2">
<msDesc>
<msIdentifier>
<settlement>Gotham City</settlement>
<institution>Hudon University Library</institution>
<collection>criminals and crimefighters</collection>
<idno type="folder">72</idno>
</msIdentifier>
<history>
<origin>found in 2040 during digging for the new subway station at Crime Alley</origin>
</history>
</msDesc>
</sourceDesc>
<sourceDesc default="false" xml:id="letter3">
<msDesc>
<msIdentifier>
<settlement>Gotham City</settlement>
<institution>Hudon University Library</institution>
<collection>criminals and crimefighters</collection>
<idno type="folder">125</idno>
</msIdentifier>
<history>
<origin>found in 2047 during an excavation under the former Wayne Towers</origin>
</history>
</msDesc>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<group>
<text type="letter" n="1" decls="#letter1">
<body>
<salute>Dear Bruce,</salute>
<p>Meow</p>
<signed>Selena</signed>
</body>
</text>
<text type="letter" n="2" decls="#letter2">
<body>
<salute>Dear Selena,</salute>
<p>Squeek</p>
<signed>Bruce</signed>
</body>
</text>
<text type="letter" n="1" decls="#letter3">
<body>
<salute>Dear Bruce,</salute>
<p><gap reason="CENSORED"/></p>
<signed>Selena</signed>
</body>
</text>
</group>
</text>
</TEI>
|