<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book SYSTEM "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book lang="en">
    <bookinfo>
        <title>California Digital Library TEI Best Practice Guidelines for Encoding Manuscripts</title>
        <corpauthor>California Digital Library Structured Text Working Group</corpauthor>
        <edition>Version 2.0</edition>
        <copyright>
            <year>2006</year>
            <holder>University of California</holder>
        </copyright>
        <legalnotice>
            <para>
                <emphasis role="bold">The encoding guidelines provided here are unedited working
                    drafts produced by CDL's Structured Text Working Group. They should not be
                    treated as final documents. Updated guidelines will be available in November 2004.</emphasis>
            </para>
        </legalnotice>
    </bookinfo>
    <preface id="intro">
        <title>Introduction</title>
        <para>This document is part of a collection of best practice guidelines established by the
            California Digital Library's Structured Text Working Group for encoding electronic
            texts. The guidelines provide best practices for marking up XML documents in accordance
            with the Textual Encoding Initiative's <emphasis>TEI P4: Guidelines for Electronic Text
                Encoding and Interchange</emphasis> (TEI P4). All projects submitting text documents
            to the CDL must follow the CDL TEI best bractices in order to produce files that may be
            automatically ingested and distributed by the CDL. There are four separate but related
            guidelines available, each geared toward a specific type of text, each accompanied by a
            specific DTD:</para>
        <itemizedlist>
            <listitem>
                <para>
                    <ulink url="/stwg/lite/">
                        <emphasis>California Digital Library TEI Lite Best Practice Guidelines for
                            Encoding Basic Texts</emphasis>
                    </ulink>
                </para>
            </listitem>
            <listitem>
                <para>
                    <ulink url="/stwg/book/">
                        <emphasis>California Digital Library TEI Best Practice Guidelines for
                            Encoding Printed Books</emphasis>
                    </ulink>
                </para>
            </listitem>
            <listitem>
                <para>
                    <ulink url="/stwg/ms/">
                        <emphasis>California Digital Library TEI Best Practice Guidelines for
                            Encoding Manuscripts</emphasis>
                    </ulink>
                </para>
            </listitem>
            <listitem>
                <para>
                    <ulink url="/stwg/oh/">
                        <emphasis>California Digital Library TEI Best Practice Guidelines for
                            Encoding Oral Histories</emphasis>
                    </ulink>
                </para>
            </listitem>
        </itemizedlist>
        <para>All of the above guidelines also require projects to consult the CDL's separate,
            universal set of guidelines for creating a TEI header: <emphasis>
                <ulink url="/stwg/metadata/">California Digital Library Best
                    Practice Guidelines for Encoding TEI Headers</ulink>
            </emphasis>
        </para>
        <para>These documents assume that readers are already familiar with the basics of XML and
            TEI P4 and are only seeking guidance as to how to apply them to specific cases. In other
            words, the best practices guidelines are not exhaustive instructions on XML nor the TEI.
            Not every element nor attribute available through a particular CDL TEI DTD is discussed
            in-depth, although a complete list of available elements and attributes for each set of
            best practices can be found in the appendix of each set of guidelines.</para>
        <para>All CDL TEI best practices also assume that the electronic text being encoded is being
            derived principally, if not wholly, from an existing paper source document. That is,
            these guidelines are not expressly intended for projects creating born-digital texts,
            although they may be adapted for such use. These guidelines are intended for projects
            that are producing semi-diplomatic transcriptions of a source document with few if any
            editorial changes. While projects may choose not to reproduce the <emphasis role="italic">look</emphasis> or layout of a source document through their encoding, no
            emendation (meaning deliberate editorial change) of any textual element in the source
            document is permitted unless the project's emendation policy, spelling out what has been
            changed and what preserved, can be consistently applied and clearly explained in the
            document header.</para>
        <para>The CDL TEI Best Practices for Manuscripts are for the encoding of manuscript
            material. For the purpose of these guidelines, manuscripts are defined as documents that
            bear physical evidence of human inscription or alteration of the text they contain, and
            that are valued in large part because of that text, as well as when, how, and by whom it
            was inscribed. Such documents include literary manuscripts; holograph, typewritten, or
            amanuensis letters; memos, notebooks, checks, photographs, business documents, or any
            physical document on which handwritten, typed, or carved text has been inscribed. In
            order to narrow the scope of this definition somewhat, certain kinds of documents have
            been excluded. The guidelines exclude published documents (e.g., books with marginalia),
            works created by medieval scribes, ancient texts, and dramatic works. The guidelines are
            purposely skewed toward capturing semantic content rather than physical details of a
            document. Therefore, projects seeking to provide full physical description of
            artifactual documents will need to supplement these guidelines. Still, the range of
            documents covered by these guidelines is large enough to make for some fairly sweeping
            generalizations, and that range limits the number of demands the guidelines can make.
            All projects digitizing manuscripts are encouraged to consult the full TEI P4 for more
            specific guidance on issues and phenomena they will no doubt encounter. </para>
        <para>Projects that wish to emend their texts may choose to record specific instances of
            emendation within a critical apparatus. These guidelines offer no instructions on the
            use of TEI P4 for creating such an apparatus. Therefore, projects intending to emend
            manuscripts and/or produce a critical text from multiple documents need to consult TEI P4.</para>
        <para>As with all CDL TEI guidelines, this document is meant to be used in conjunction with
            full documentation for TEI P4. Where an issue is not directly addressed in these
            guidelines, official <ulink url="http://www.tei-c.org/P4X/">TEI documentation</ulink>
            should be consulted.</para>
    </preface>
    <preface id="use">
        <title>Using These Guidelines</title>
        <para>These guidelines are prescriptive. However, not all individual practices mentioned
            here are absolutely required for compliance to the standard. The following list provides
            the words and phrases that should serve as cues throughout this document as to whether a
            practice is required, recommended, or optional:</para>
        <itemizedlist>
            <listitem>
                <para>REQUIRED</para>
                <para>
                    <emphasis role="bold">must, must not, will, will not, do, do not</emphasis>
                </para>
                <para> Unless the practice is followed, the document will not be considered valid as
                    a CDL TEI document. Where possible, these practices will be enforced by the DTD
                    or schema.</para>
            </listitem>
            <listitem>
                <para>RECOMMENDED</para>
                <para>
                    <emphasis role="bold">should, should not</emphasis>
                </para>
                <para>The recommendation should be followed if possible; it should only be violated
                    if the encoder has a good reason for doing so. Where possible, these
                    recommendations will be enforced by the CDL using a Schematron assertion
                    language schema.</para>
            </listitem>
            <listitem>
                <para>OPTIONAL</para>
                <para>
                    <emphasis role="bold">may, may not, can, cannot</emphasis>
                </para>
                <para>Although suggested, the practice is optional. Encoders may choose other valid
                    strategies as necessary.</para>
            </listitem>
        </itemizedlist>
        <para> If a question arises that cannot be resolved through consulting these guidelines, the
            encoder should consult official <ulink url="http://www.tei-c.org/P4X/">TEI P4</ulink>
            documentation. Throughout these guidelines, relevant sections of TEI P4 will be
            referenced using the following notation:</para>
        <informalexample>
            <para>
                <emphasis role="bold">[P4: 11.2]</emphasis>
            </para>
        </informalexample>
    </preface>
    <chapter>
        <title>General Instructions</title>
        <sect1 id="files">
            <title>File Management and ARKs</title>
            <para>Every digital object submitted to the CDL, including objects that are associated
                files referenced by the main XML document, must be assigned an Archival Resource Key
                (ARK) that will serve as the object's unique and persistent identifier. Projects may
                obtain ARKs through the CDL for use in their encoding, or their files may
                automatically be assigned ARKs by the CDL upon ingest. The method by which a
                project's files will receive ARKs should be negotiated in advance and laid out in
                each project's submission agreement with the CDL.</para>
            <para> For TEI files, each text's ARK will also be assigned as the value of the
                    <emphasis role="bold">id</emphasis> attribute in the root element of the text's
                XML file. It will also be recorded in an &lt;idno&gt; element in the text's
                TEI header.</para>
            <sect2 id="filename">
                <title>Naming</title>
                <para> It is highly recommended that where possible the ARK also be used for naming
                    TEI files, using the following convention:</para>
                <blockquote>
                    <para>ARK.xml, where "ARK" is the unique key assgned.</para>
                </blockquote>
                <para>To facilitate the ingest of files, projects should use the following naming
                    conventions for images, PDFs, and other associated content: </para>
                <blockquote>
                    <para>ARK_NAME.EXTENSION, where "ARK" is the unique key assigned, "NAME" is the
                        result of whatever local naming convention has been applied to individual
                        files, and " EXTENSION" is the normal file format extension (".gif", ".jpg",
                        ".pdf", etc.).</para>
                </blockquote>
                <informaltable>
                    <tgroup cols="3">
                        <thead>
                            <row>
                                <entry>type of file</entry>
                                <entry>ARK</entry>
                                <entry>file name</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>TEI</entry>
                                <entry>kt167nb66r</entry>
                                <entry>kt167nb66r.xml</entry>
                            </row>
                            <row>
                                <entry>GIF</entry>
                                <entry>ARK kt167nb66r</entry>
                                <entry>kt167nb66r_fig002.gif</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
            </sect2>
            <sect2 id="assocFiles">
                <title>Associated Content Files</title>
                <para>All digital objects referenced as external entities by a TEI document must
                    first be declared as entities at the beginning of the document. The entity
                    declaration must give the object's entity reference and then define the
                    reference using the object's system identifier. The system identifier must
                    either be a system path relative to the document or, preferably, a URL. Ideally,
                    to facilitate the preview and ingest of TEI objects, projects should make their
                    documents and all associated content files (DTDS, images, pdfs, etc.) available
                    via the web. Entity declarations must use the full object filename and the
                    appropriate file format notation (e.g., GIF, JPG, or PDF).</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<!ENTITY fig002 SYSTEM "http://www.server.domain/figures/kt167nb66r_fig002.gif" NDATA GIF>
...
<figure id="fig002" entity="fig002" rend="block">]]>
        </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="imagefiles">
                <title>Image Files</title>
                <para>The CDL will accept image files in either the GIF or JPEG format. If possible,
                    two derivative images should be created for each plate, figure, graphic, or
                    other pictorial element that appears as a discrete element in the text. One of
                    these derivatives should be at web resolution (72 ppi) and the same size as the
                    figure in the printed text. The other image should be at higher resolution (300
                    ppi), again at original size, but not exceeding 768 pixels in width. In-line
                    images, such as images of formulas, need only be provided in the low-resolution
                    version. When necessary, images should be cropped and flipped for proper
                    orientation for web display. For more information about the CDL's digital image
                    standards, see the <emphasis>
                        <ulink url="http://www.cdlib.org/news/pdf/CDLObjectStd-2001.pdf">California
                            Digital Library Digital Object Standard: Metadata, Content and Encoding</ulink>
                    </emphasis> and the <emphasis>
                        <ulink url="http://www.cdlib.org/news/pdf/CDLImageStd-2001.pdf">California
                            Digital Library Digital Image Format Standards</ulink>
                    </emphasis>.</para>
                <para> The master version of the image (usually a TIFF) does not need to be
                    submitted to CDL. However, projects interested in preserving master images for
                    future use should consider submitting them to the <ulink url="http://www.cdlib.org/inside/projects/preservation/dpr/">UC Libraries
                        Digital Preservation Repository</ulink>, scheduled to launch in 2005. </para>
                <para>If images are to be supplied in multiple resolutions, it will be necessary to
                    encode this fact in a metadata record conforming to the Metadata Encoding and
                    Transmission Standard (METS) schema.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<fileGrp ID="figures">
   <fileGrp ID="fig1">
      <file ID="fig1-m" ADMID="image-rights" USE="med-res" MIMETYPE="image/gif">
         <FLocat LOCTYPE="URL" 
                 xlink:href="/dynaxml/data/cj/kt109nc2cj/figures/fig1.gif"/>
      </file>
      <file ID="fig1-h" ADMID="image-rights" USE="hi-res" MIMETYPE="image/gif">
         <FLocat LOCTYPE="URL" 
                 xlink:href="/dynaxml/data/cj/kt109nc2cj/figures/fig1_h.gif"/>
      </file>
   </fileGrp>
   ...]]>
            </programlisting>
                </informalexample>
                <para>Please consult the CDL ingest team before constructing a METS record for
                    objects with multiple resolutions.</para>
            </sect2>
        </sect1>
        <sect1 id="tagset">
            <title>Invoking the CDL TEI Manuscript DTD</title>
            <para>All documents complying to these guidelines must explicitly invoke the CDL TEI
                Manuscript DTD. To do this, declare the the TEI XML DTD and include the prose,
                figures, transcription, and linking tag sets. Then include the CDL user extension
                files and the entity "CDL.ms". Other external entity declarations should directly
                follow. (See the section on associated files for instructions on how to declare
                entities.) </para>
            <para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<!DOCTYPE TEI.2 SYSTEM "../dtd/tei2.dtd" [
<!ENTITY % TEI.XML "INCLUDE">
<!ENTITY % TEI.prose "INCLUDE">
<!ENTITY % TEI.figures "INCLUDE">
<!ENTITY % TEI.transcr "INCLUDE">                  
<!ENTITY % TEI.linking "INCLUDE">

<!ENTITY % TEI.extensions.ent SYSTEM '../dtd/CDL_base.ent'>
<!ENTITY % TEI.extensions.dtd SYSTEM '../dtd/CDL_base.dtd'>
<!ENTITY % CDL.ms "INCLUDE">
. . .
<!ENTITY fig002 SYSTEM "http://www.server.domain/figures/kt167nb66r_fig002.gif" NDATA GIF>
. . . 
]>]]>
            </programlisting>
                </informalexample>
                <emphasis role="bold">
                    <ulink url="http://www.tei-c.org/P4X/ST.html#STIN">[P4: 3.3]</ulink>
                </emphasis>
            </para>
        </sect1>
        <sect1 id="elements">
            <title>Case Sensitivity</title>
            <para>Please take note that XML is case-sensitive. All elements and attributes must be
                in the proper case to be valid. In the CDL TEI DTDs, all elements made up of
                compound words use the "camel case" format: e.g., "teiHeader" instead of "teiheader"
                or "TEIHEADER".</para>
        </sect1>
        <sect1 id="unicode">
            <title>Character Encoding</title>
            <para>Special characters in the text must be encoded using the <ulink url="http://www.unicode.org/standard/standard.html">Unicode Standard</ulink>
                (UTF-8) and documents must include "UTF-8" as the value of the <emphasis role="bold">encoding</emphasis> attribute in the XML declaration.</para>
            <informalexample>
                <programlisting format="linespecific">
<![CDATA[<?xml version="1.0" encoding="UTF-8"?>]]>
            </programlisting>
            </informalexample>
            <para>Special characters may be incorporated into a document directly as native Unicode
                (à) or may be represented by numeric character entities. These numeric
                character entities can take either the decimal (&amp;#224;) or hexadecimal forms
                (&amp;#x00E0;). Characters must <emphasis>not</emphasis> be represented using
                named character entities (&amp;agrave;), with the exception of those
                specifically exempted in the <ulink url="http://www.w3.org/TR/REC-xml/">XML 1.0
                Specification</ulink>. These <emphasis>must</emphasis> be used to avoid validation errors:</para>
            <informaltable>
                <tgroup cols="3">
                    <thead>
                        <row>
                            <entry>character</entry>
                            <entry>description</entry>
                            <entry>Unicode</entry>
                        </row>
                    </thead>
                    <tbody>
                        <row>
                            <entry><![CDATA[<]]></entry>
                            <entry><![CDATA[less than]]></entry>
                            <entry><![CDATA[&lt;]]></entry>
                        </row>
                        <row>
                            <entry><![CDATA[>]]></entry>
                            <entry><![CDATA[greater than]]></entry>
                            <entry><![CDATA[&gt;]]></entry>
                        </row>
                        <row>
                            <entry><![CDATA[&]]></entry>
                            <entry><![CDATA[ampersand]]></entry>
                            <entry><![CDATA[&amp;]]></entry>
                        </row>
                    </tbody>
                </tgroup>
            </informaltable>
            <informalexample>
                <programlisting format="linespecific">
            <![CDATA[
                <p>The &lt;body&gt; element contains the main body of the text.</p>
                ]]>
            
            </programlisting>
            </informalexample>
            <para>Unicode named character entities must also be used within attribute values that
                need to contain single or double quotation marks or apostrophes. Use the following
                named character entities to avoid a parser error:</para>
            <informaltable>
                <tgroup cols="3">
                    <thead>
                        <row>
                            <entry>character</entry>
                            <entry>description</entry>
                            <entry>Unicode</entry>
                        </row>
                    </thead>
                    <tbody>
                        <row>
                            <entry><![CDATA["]]></entry>
                            <entry><![CDATA[quotation marks]]></entry>
                            <entry><![CDATA[&quot;]]></entry>
                        </row>
                        <row>
                            <entry><![CDATA[']]></entry>
                            <entry><![CDATA[apostrophe or single quotation mark]]></entry>
                            <entry><![CDATA[&apos;]]></entry>
                        </row>
                    </tbody>
                </tgroup>
            </informaltable>
            <informalexample>
                <programlisting format="linespecific">
<![CDATA[<name reg="Ol&apos; Yeller">]]>
            </programlisting>
            </informalexample>
            <para>As part of the CDL ingest process, documents will be checked for the correct
                Unicode character encoding and rejected if nonconforming characters or encodings are detected.</para>
        </sect1>
        <sect1 id="hyphen">
            <title>Hyphenation</title>
            <para>When encoding the text, take care not to transcribe end-line hyphens that have
                been introduced into the text as a result of typesetting. Record all hyphens that
                are required by the source for the correct spelling of a compound word or phrase.
                Similarly, record all hyphens that are absolutely necessary to the meaning of an
                expression, e.g., hyphens in dates, formulas, code, etc.</para>
            <para>Note that idiosyncratic spelling in manuscripts may mean that it is difficult to
                determine whether an end-line hyphen should be preserved in the transcription or
                not. Whatever method is used to resolve end-line hyphens should be recorded in the
                document's &lt;editorialDecl&gt; in the TEI header. </para>
        </sect1>
        <sect1 id="extent">
            <title>Extent of Encoding</title>
            <para>Manuscripts transcribed following these guidelines should be transcribed and
                encoded in full such that all pages with authorial text and/or non-authorial
                commentary (including revisions and marginal notes by someone other than the
                original author) appear in the encoded transcription. Notes and other additions to
                the original manuscript for the purpose of sale or of cataloging (prices, catalog
                numbers, docketing by hands other than those who created, sent, or received the
                document) may be excluded if their exclusion is consistent and documented in the
                &lt;editorialDecl&gt; in the TEI header. Any part that is encoded but need
                not be displayed or accessed may be commented out of the XML file. A project's
                specific policies regarding what has been encoded and what left out, including
                policies adopted at the suggestion of these guidelines, must be articulated in the
                file's &lt;editorialDecl&gt; in the &lt;teiHeader&gt;.</para>
        </sect1>
        <sect1 id="mets">
            <title>Metadata Encoding and Transmission Standard (METS) Record</title>
            <para>The principal container for metadata at the CDL is a digital object's METS record.
                TEI documents should be submitted with as complete a METS record as possible. The
                CDL may generate METS records for projects that are unable to provide them. For more
                information, see <ulink url="http://www.cdlib.org/inside/diglib/repository/">The CDL
                    METS Repository</ulink>'s web stie. </para>
        </sect1>
    </chapter>
    <chapter>
        <title>Encoding Practice</title>
        <sect1 id="tei2">
            <title>Root Element</title>
            <sect2>
                <title>&lt;TEI.2&gt; </title>
                <para>Each document should contain one and only one &lt;TEI.2&gt; root
                    element. The <emphasis role="bold">id</emphasis> attribute is required and must
                    contain the unique ARK assigned to the text in question.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<TEI.2 id="kt5n39n99v">]]>
            </programlisting>
                </informalexample>
            </sect2>
        </sect1>
        <sect1 id="teihdr">
            <title>Document Header</title>
            <para>Generally, the &lt;teiHeader&gt; for each document must conform to the
                practices described in detail in the <ulink url="../metadata">
                    <citetitle>CDL Best Practice Guidelines for Encoding TEI Headers</citetitle>
                </ulink>. Those guidelines cover both mandatory practices as well as suggested or
                optional practices. It is often sufficient to follow the instructions there for
                encoding the mandatory minimal header, as long as projects also meet additional
                requirements for manuscripts outlined below. However, projects that will depend on
                the TEI header as their principal source of metadata (e.g., projects not providing
                their own METS records) are advised to use the recommendations for full header
                encoding. The instructions below include only specifications that modify or expand
                on the CDL TEI Header guidelines in some way. Therefore, they
                <emphasis>cannot</emphasis> be used alone.</para>
            <sect2 id="header">
                <title>&lt;teiHeader&gt;</title>
                <para>The &lt;teiHeader&gt; should provide a relatively complete
                    bibliographic record for both the electronic document and the original source
                    manuscript. The data that describe the electronic text should be encoded in the
                    &lt;fileDesc&gt; section, while data that pertain to the source text
                    should be encoded within the &lt;sourceDesc&gt; section (a subsection of
                    &lt;fileDesc&gt;). Projects should be careful to describe their source
                    documents accurately; if encoders have access only to photocopies rather than
                    original manuscripts, that fact should be noted in &lt;sourceDesc&gt;.</para>
                <para>Much of the information in a TEI header is normally pulled from the source
                    document. Manuscripts, however, often do not contain title pages or formal
                    responsibility statements. Therefore, both &lt;fileDesc&gt; and
                    &lt;sourceDesc&gt; may, if the project chooses, contain supplied (and/or
                    regularized) information only. There is no need to use brackets to indicate what
                    information has been supplied, except in the case of &lt;title&gt; in
                    the &lt;sourceDesc&gt;&lt;titleStmt&gt;. Titles that have been
                    supplied in &lt;sourceDesc&gt; should be enclosed in brackets. The
                    &lt;title&gt; in &lt;fileDesc&gt;&lt;titleStmt&gt;,
                    because it is inherently supplied and applies solely to the electronic file,
                    need never be enclosed in brackets.</para>
                <para>CDL search indexing and metadata collection depend on using a crosswalk that
                    maps individual TEI header elements to their <ulink url="http://dublincore.org/">Dublin Core Metadata Initiative</ulink> (DC)
                    equivalents. A detailed list of which elements in the TEI header map to which
                    elements in DC can be found in Appendices A and B of the <ulink url="../metadata"> CDL TEI Header guidelines </ulink>. </para>
                <para>It is particularly important to note that every TEI document must make use of
                    the &lt;idno&gt; element in the TEI header to record both the text's ARK
                    and its local object identifier. Each must be given as the content of a separate
                    &lt;idno&gt; element. The <emphasis role="bold">type</emphasis>
                    attribute must be used to identify whether an "ARK" or "LOCAL" identifier is
                    being given. These &lt;idno&gt; elements are essential to maintaining
                    the link between the document and its various identities.</para>
                <para>The sample TEI header below offers a general template for manuscript headers.
                    More detailed instructions on elements that require special attention follow.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<teiHeader type="CDL/TEI text type">
  <fileDesc>
    <titleStmt>
      <title>TITLE OF TEXT : ELECTRONIC VERSION</title>
	<author>LASTNAME, FIRSTNAME, YYYY-YYYY</author>
      <editor> LASTNAME, FIRSTNAME, YYYY-YYYY </editor>
      <respStmt>
        <resp>Text encoder:</resp>
          <name reg="LASTNAME, FIRSTNAME, YYYY-YYYY">FIRSTNAME LASTNAME</name>
      </respStmt>
     </titleStmt>
     <editionStmt>ELECTRONIC EDITION STMT</editionStmt>
     <extent>in Kb. or Mb.</extent>
     <publicationStmt>
       <publisher>NAME OF PUBLISHER</publisher>
       <pubPlace>PLACE OF PUBLICATION<pubPlace>
       <date reg="YYYYMMDD">DATE OF PUBLICATION</date> [or date of creation of e-text? a couple of options here]
       <idno>OAC ARK: </idno>
	 <idno>Local ID#</idno> 
     </publicationStmt>
     <seriesStmt>
       <title>SERIES TITLE</title>
       <respStmt>
         <resp></resp>
         <name reg="LASTNAME, FIRSTNAME, YYYY-YYYY">FIRSTNAME LASTNAME</name>
       </respStmt>
       <idno>OAC ARK: </idno>
     </seriesStmt>
     <sourceDesc>
       <bibl>
	  <title>[TITLE]</title>
	  <author><name reg="LASTNAME, FIRSTNAME, YYYY-YYYY">FIRSTNAME LASTNAME</name></author>
        <respStmt>
        <resp>MS revisions by:</resp>
          <name reg="LASTNAME, FIRSTNAME, YYYY-YYYY">FIRSTNAME LASTNAME</name>
	<resp>Amanuensis:</resp>
          <name reg="LASTNAME, FIRSTNAME, YYYY-YYYY">FIRSTNAME LASTNAME</name>
 	</respStmt>
	<extent># of MS leaves</extent>
      <date value="MMDDYYYY">DATE OF CREATION OF MS</date>
	<idno type="LOCAL">LOCALLY DEFINED ID#</idno>  
       </bibl>
    </sourceDesc>
  </fileDesc>
  <encodingDesc>
    <projectDesc>
      <p> </p>
    </projectDesc>
    <editorialDecl>
      <p></p>
    </editorialDecl>
    <refsDecl>
	<p></p>
    </refsDecl>
    <classDecl>
      <taxonomy id="CONTROLLED VOCAB ID #1">
        <bibl>
          <title>NAME OF CONTROLLED VOCAB</title>
        </bibl>
      </taxonomy>
      <taxonomy id="CONTROLLED VOCAB ID #2">
        <bibl>
          <title>NAME OF ANOTHER CONTROLLED VOCAB</title>
        </bibl>
      </taxonomy>
      <taxonomy id="CONTROLLED VOCAB ID #3">
        <category>
          <catDesc>NAME OF LOCAL OR PROJECT DEFINED CONTROLLED VOCAB</catDesc>
        </category>
      </taxonomy>
    <classDecl>  
  </encodingDesc>
  <profileDesc>
    <creation>
      <date></date>
    </creation>
    <langUsage>
      <language id="el">(Range: 0370-03FF)</language>
    </langUsage>
    <handList>
	<hand id="UNIQUE ID#" first="YES OR NO"/>
    </handList>
    <textClass>
      <keywords scheme="ID# FROM ONE OF THE <TAXONOMY ID="">'S">
	  <list>
  	    <item>NAME OR SUBJECT HEADING</item>
          <item> </item>
        </list>
	</keywords>
      <keywords scheme="ID# FROM A SECOND <TAXONOMY ID="">">
        <list>
          <item>NAME OR SUBJECT HEADING</item>
          <item> </item>
        </list>
	</keywords>
    </textClass>
  </profileDesc>
   <revisionDesc>
    <change>
      <date>Date of revision</date>
      <respStmt>
	<name>PERSON RESPONSIBLE FOR REVISION</name>
      </respStmt>
      <item>EXPLANATION OF REVISION</item>
    </change>
   </revisionDesc>
</teiHeader>
    ]]>
    </programlisting>
                </informalexample>
                <sect3 id="fileDesc">
                    <title>&lt;fileDesc&gt;</title>
                    <para>The &lt;fileDesc&gt; describes the electronic file in detail. For
                        manuscripts, the following elements within &lt;fileDesc&gt; require
                        special attention not otherwise required or emphasized by the CDL TEI Header guidelines:</para>
                    <sect4 id="fileTitle">
                        <title>&lt;title&gt;</title>
                        <para>The &lt;title&gt; in
                            &lt;fileDesc&gt;&lt;titleStmt&gt;, because it includes a
                            subtitle ("electronic text") that is always supplied by the encoder and
                            applies solely to the electronic file, need never be enclosed in
                            brackets even if the main part of the title is supplied. Projects
                            producing many files with supplied titles should spell out their
                            procedures for supplying those titles in the
                            &lt;editorialDecl&gt;. </para>
                        <para>For letters, the title should contain the names of the sender and the
                            recipient and the date the letter was written.</para>
                        <informalexample>
                            <programlisting>
<![CDATA[<title>Letter from Samuel L. Clemens to Olivia L. Clemens,
29 July 1879: an electronic text</title>]]></programlisting>
                        </informalexample>
                        <para>Again, The title above title is not given in brackets because it
                            refers to the electronic text. The same supplied title for the source
                            document (&lt;sourceDesc&gt;&lt;title&gt;) would be
                            given in the following form.</para>
                        <informalexample>
                            <programlisting>
<![CDATA[<title>[Letter from Samuel L. Clemens to Olivia L. Clemens, 29 July 1879]</title>]]></programlisting>
                        </informalexample>
                        <para> [P4: 5.2.1]</para>
                    </sect4>
                    <sect4 id="respStmt">
                        <title>&lt;respStmt&gt;</title>
                        <para> The &lt;respStmt&gt; must include the names of all document
                            encoders, editors, and transcribers responsible for the electronic text.
                            Individuals responsible for proofreading or making general corrections
                            to the encoded file may also be recorded. Group here any other
                            individuals or organizations that have not been entered using other
                            elements (&lt;author&gt;, &lt;editor&gt;, etc.) but that
                            have contributed to the work. </para>
                        <para>Each &lt;respStmt&gt; should contain at least one pair of
                            &lt;resp&gt; and &lt;name&gt; elements. The
                            &lt;resp&gt; element should contain a statement that indicates
                            the nature of the contribution. Each &lt;name&gt; element should
                            contain the name of the contributor. All documents should have at least
                            one &lt;respStmt&gt; for the individual responsible for encoding
                            the electronic text and the individual responsible for transcribing the
                            manuscript. See the CDL TEI Header guidelines for instructions regarding
                            the regularization of names. Within &lt;respStmt&gt;, repeat
                            &lt;resp&gt; and &lt;name&gt; as necessary. Multiple
                            names can be paired with a single &lt;resp&gt;, and multiple
                            responsibilities can be described in a single &lt;resp&gt;.<remark/>
                        </para>
                        <informalexample>
                            <programlisting>
<![CDATA[<titleStmt>. . .
    <respStmt>
      <resp>Transcription by<resp>
      <name reg="Steadman, Ralph">Ralph Steadman</name>
      <resp>Encoded by</resp>
      <name reg="Rios, Leigh">Leigh Rios</name>
      <resp>Proofing and Corrections to markup by</resp>
      <name reg="Payne, Charlotte">Charlotte Payne</name>
    <respStmt>
  </titleStmt>
  <titleStmt>. . .
    <respStmt>
      <resp>Transcription by<resp>
      <name reg="Steadman, Ralph">Ralph Steadman</name>
      <resp>Encoded by</resp>
      <name reg="Rios, Leigh">Leigh Rios</name>
      <resp>Proofing and Corrections to markup by</resp>
      <name reg="Payne, Charlotte">Charlotte Payne</name>
    <respStmt>
  </titleStmt>]]></programlisting>
                        </informalexample>
                        <para>[P4: 5.2.1]</para>
                    </sect4>
                </sect3>
                <sect3 id="sourceDesc">
                    <title>&lt;sourceDesc&gt;</title>
                    <para>As unpublished documents, manuscripts can pose a problem for formalized
                        bibliographic citation using &lt;biblFull&gt;. Therefore these
                        guidelines recommend the use of &lt;bibl&gt;, which can accommodate
                        totally unstructured bibliographic information. Within &lt;bibl&gt;,
                        many of the elements available in &lt;fileDesc&gt; may be used.</para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[<sourceDesc>
       <bibl>
	  <title>[TITLE]</title>
	  <author><name reg="LASTNAME, FIRSTNAME, YYYY-YYYY">FIRSTNAME LASTNAME</name></author>
        <respStmt>
        <resp>MS revisions by:</resp>
          <name reg="LASTNAME, FIRSTNAME, YYYY-YYYY">FIRSTNAME LASTNAME</name>
	<resp>Amanuensis:</resp>
          <name reg="LASTNAME, FIRSTNAME, YYYY-YYYY">FIRSTNAME LASTNAME</name>
 	</respStmt>
	<extent># of MS leaves</extent>
      <date value="MMDDYYYY">DATE OF CREATION OF MS</date>
	<idno type="LOCAL">LOCALLY DEFINED ID#</idno>  
       </bibl>
    </sourceDesc>]]>
</programlisting>
                    </informalexample>
                    <para> [P4: 5.2.7]</para>
                    <sect4 id="sourceResp">
                        <title>&lt;respStmt&gt;</title>
                        <para>Transcribe responsibility statements if necessary, even if they are
                            not explicitly given by the source document. For instance, a manuscript
                            that has been extensively revised or annotated by someone other than the
                            author may have the reviser's or annotater's name recorded. Or it may be
                            important to record the name of an amanuensis in the
                            &lt;sourceDesc&gt;&lt;bibl&gt; even though that person's
                            participation in the creation of the original manuscript may not warrant
                            recording in the &lt;fileDesc&gt;. Statements that describe the
                            nature of the intellectual or artistic contribution should be encoded in
                            &lt;resp&gt;. Names of people or organizations should be placed
                            in &lt;name&gt;. Repeat &lt;resp&gt; and
                            &lt;name&gt; for each contributor. Please see the complete CDL
                            TEI Header guidelines for when to use the <emphasis role="bold">reg</emphasis> attribute in &lt;name&gt; within &lt;respStmt&gt;.</para>
                        <informalexample>
                            <programlisting format="linespecific">
<![CDATA[<respStmt>
          <resp>Revised by</resp>
          <name reg="Paine, Albert Bigelow">Albert Bigelow Paine</name>
        <respStmt>]]></programlisting>
                        </informalexample>
                    </sect4>
                    <sect4 id="sourceExtent">
                        <title>&lt;extent&gt;</title>
                        <para> The &lt;extent&gt; element in
                            &lt;sourceDesc&gt;&lt;bibl&gt; will record the number of
                            manuscript leaves or other relevant measure (e.g., pages) of the length
                            of the original document. </para>
                    </sect4>
                    <sect4 id="sourceDate">
                        <title>&lt;date&gt;</title>
                        <para>The &lt;date&gt; in
                            &lt;sourceDesc&gt;&lt;bibl&gt; should normally reflect
                            the date of primary creation of the manuscript, not the date of
                            subsequent revision. Where significant revision has occurred over time
                            and must be recorded, date ranges may be given within
                            &lt;dateRange&gt; instead.</para>
                    </sect4>
                </sect3>
                <sect3 id="encodDesc">
                    <title>&lt;encodingDesc&gt;</title>
                    <para>Through a variety of sub-elements, the mandatory
                        &lt;encodingDesc&gt; gives information about the editorial and
                        encoding policies behind the electronic text.</para>
                    <sect4 id="editDecl">
                        <title>&lt;editorialDecl&gt;</title>
                        <para>All manuscript projects must also use the
                            &lt;editorialDecl&gt; element to describe their transcription
                            policies, especially those regarding non-typographical elements,
                            editorial commentary, and revisions. This is where projects must also
                            describe all policies regarding the emendation of the source text,
                            including correction of apparent errors, standardization of spelling,
                            expansion of abbreviations, exclusion of certain elements, etc.</para>
                        <para>[P4: 5.3.3]</para>
                    </sect4>
                </sect3>
                <sect3 id="profileDesc">
                    <title>&lt;profileDesc&gt;</title>
                    <sect4 id="handList">
                        <title>&lt;handList&gt;</title>
                        <para>Projects working with manuscript that is written by more than one
                            person may wish to distinguish between the hands that created the
                            document. Use &lt;handList&gt; to identify all hands that appear
                            in the document, listing each hand using the &lt;hand&gt;
                            element. Usually, the names associated with those hands will also then
                            be recorded in the &lt;respStmt&gt; of the
                            &lt;fileDesc&gt; and &lt;sourceDesc&gt;. </para>
                    </sect4>
                    <sect4 id="hand">
                        <title>&lt;hand&gt;</title>
                        <para>The &lt;hand&gt; element is an empty tag whose attributes are
                            used to describe each distinct hand in the document. The following
                            attributes are required:</para>
                        <informaltable>
                            <tgroup cols="2">
                                <thead>
                                    <row>
                                        <entry>value</entry>
                                        <entry>description</entry>
                                    </row>
                                </thead>
                                <tbody>
                                    <row>
                                        <entry>
                                            <emphasis role="bold">id</emphasis>
                                        </entry>
                                        <entry>gives a unique identifier for the hand</entry>
                                    </row>
                                    <row>
                                        <entry>
                                            <emphasis role="bold">first</emphasis>
                                        </entry>
                                        <entry> "yes" if hand is primary or dominant hand in the
                                            document, "no" if it is not</entry>
                                    </row>
                                </tbody>
                            </tgroup>
                        </informaltable>
                        <para>The <emphasis role="bold">scribe</emphasis> attribute may also be used
                            to give another name or non-unique identifier for the hand. </para>
                        <informalexample>
                            <programlisting format="linespecific">
<![CDATA[<handList>
<hand id="SLC" scribe="Clemens, Samuel Langhorne" first="yes"/>
<hand id="ABP" scribe="Paine, Albert Bigelow" first="no"/>
</handList>]]>
</programlisting>
                        </informalexample>
                        <para>[P4: 18.2.1]</para>
                        <para>
                            <emphasis role="bold">
                                <ulink url="http://www.tei-c.org/P4X/HD.html#HD7">[P4: 5.6]</ulink>
                            </emphasis>
                        </para>
                    </sect4>
                </sect3>
            </sect2>
        </sect1>
        <sect1 id="struct">
            <title>Text Structure</title>
            <sect2 id="text">
                <title>&lt;text&gt;</title>
                <para>The &lt;teiHeader&gt; is directly followed by the mandatory
                    &lt;text&gt; element, which fully contains the content of the text being
                    encoded. The &lt;text&gt; element contains three sub-elements,
                    &lt;front&gt; for front matter(e.g., title pages, prefaces, and
                    introductions), &lt;body&gt; for the main body of the text, and
                    &lt;back&gt; for back matter (e.g., endnotes and appendices). Of these
                    three, only &lt;body&gt; is required. </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<TEI.2 id="ARK>
   <teiHeader> . . . </teiHeader>
   <text>
      <front> . . . </front>       OPTIONAL
      <body>                       REQUIRED
         <div1> . . . </div1>
      </body>
      <back>                       OPTIONAL
         <div1> . . . </div1>
      </back>
   </text>
</TEI.2>]]>
            </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/DS.html#DSDIV">[P4: 7.1]</ulink>
                    </emphasis>
                </para>
            </sect2>
            <sect2 id="group">
                <title>&lt;group&gt; </title>
                <para> Manuscript documents can present a special challenge for grouping. As far as
                    it is possible, documents should retain structural integrity. Those that cannot
                    stand alone content-wise should not stand alone as files. Therefore, while
                    individual letters in a series of correspondence may be offered as separate TEI
                    documents, the manuscript of a novel should normally be contained within one
                    file, with appropriate divisions for chapters, etc. Working notes for that
                    novel, however, could be encoded separately. Individual texts that may stand
                    alone but whose grouping is deemed significant enough to be worth retaining may
                    also be encoded as a group. Therefore, a collection of poetry or short stories
                    that has been grouped and ordered by the author may be encoded in a single file,
                    or, if the author has not ordered them in a discrete group, may be separately
                    encoded. </para>
                <para> When grouping documents, bear in mind, too, that all documents that are
                    grouped in a single file will have the same TEI header. If you wish to have very
                    granular control of your documents, you may wish to give each one its own
                    header, and therefore encode each one as a separate file. </para>
                <para> Normally, the &lt;div<emphasis>n</emphasis>&gt; element will be
                    enough to create the structural divisions necessary for documents that are
                    encoded together as a group. However, for groups of texts for which the
                    &lt;div<emphasis>n</emphasis>&gt; structure is not enough, for instance
                    for a collection of short stories in which each manuscript text has its own
                    distinct front matter, the &lt;group&gt; element may be used to contain
                    multiple &lt;text&gt;s. Avoid using &lt;teiCorpus&gt;.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<TEI.2>
   <teiHeader> . . . </teiHeader>
   <text>
      <front> 
         <titlePage> . . . </titlePage>
      </front> 
      <group>
         <text>
            <front>
               <titlePage> . . . </titlePage>
            </front>
            <body> . . . </body>
            <back> . . . </back>
         </text>
         <text> . . . </text>
         <text> . . . </text>
         <text> . . . </text>
      </group>
   </text>
</TEI.2>]]>
               </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/DS.html#DSGRP">[P4: 7.3]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="front">
            <title>Front Matter</title>
            <sect2>
                <title>&lt;front&gt;</title>
                <para>The &lt;front&gt; element is used to contain the various components
                    that make up front matter, including prefaces, introductions, dedications, and
                    title pages. Each of these sections is normally contained within another
                    structural element such as &lt;titlePage&gt; or a
                    &lt;div<emphasis>n</emphasis>&gt;. For a full list of the types of
                    &lt;div<emphasis>n</emphasis>&gt;s available in &lt;front&gt;,
                    please see the section on divisions. Note that &lt;front&gt; should be
                    reserved for containing prefatory material that is relevant to the entire body
                    text <emphasis>as a whole</emphasis>. Other section titles or attributive
                    information that happens to occur at the beginning of the document but refers to
                    only a portion of the document (e.g., the title of the first poem in a short
                    collection of poems) should be contained within appropriate elements within the
                    appropriate &lt;div<emphasis>n</emphasis>&gt;. </para>
            </sect2>
            <sect2 id="tpage">
                <title>&lt;titlePage&gt;</title>
                <para>Do not encode a &lt;titlePage&gt; unless the manuscript itself
                    contains a formal title page. As with any page in a manuscript, title pages may
                    often possess a number of formatting peculiarities, such as specific alignment,
                    fonts, incidental images, etc. It is not necessary to attempt to reproduce the
                    look or layout of the title page exactly. It is often enough to convey to users
                    what textual information the title page contains and the order in which the
                    information appears.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<titlePage>
   <docTitle>
      <titlePart type="main">The Mad Mariner</titlePart>
      <titlePart type="subtitle">Being a Tale of Harrowing Heroism</titlePart>
   </docTitle>                       
   <docAuthor><name>Wally Bunham</name></docAuthor>
   </docImprint>
</titlePage>]]>
          </programlisting>
                </informalexample>
                <sect3 id="doctitle">
                    <title>
                        <emphasis role="bold">&lt;docTitle&gt;, &lt;titlePart&gt;</emphasis>
                    </title>
                    <para>The &lt;docTitle&gt; element is required within
                        &lt;titlePage&gt;. Use &lt;titlePart&gt; within
                        &lt;docTitle&gt; to encode individual formal titles, subtitles, and
                        other subsidiary title parts as they appear on the title page. If there is
                        more than one &lt;titlePart&gt; given, projects must use the
                            <emphasis role="bold">type</emphasis> attribute to classify the various
                        &lt;titlePart&gt;s. Supported <emphasis role="bold">type</emphasis>
                        attribute values are "main," "subtitle," "alternate," and "abbreviated." Any
                        &lt;titlePart&gt; without a <emphasis role="bold">type</emphasis>
                        attribute will be considered and formatted as a "main" title. If there is
                        more than one &lt;titlePart&gt;, then give the <emphasis role="bold">type</emphasis> attribute is mandatory for all of them. </para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[<docTitle>
      <titlePart type="main">The Long Way Home</titlePart><titlePart type="subtitle">My Voyage Back to China</subtitle>
</docTitle>]]>
                    </programlisting>
                    </informalexample>
                </sect3>
                <sect3 id="docauthor">
                    <title>
                        <emphasis role="bold">&lt;docAuthor&gt;</emphasis>
                    </title>
                    <para>Record here the names of authors and others responsible for the
                        intellectual content of the document as they appear on the title page. Each
                        &lt;docAuthor&gt; element will be displayed by the stylesheet on a
                        single line. Therefore, projects may choose to encode multiple names within
                        a single &lt;docAuthor&gt; if it is desired that they display on a
                        single line, or may choose to repeat &lt;docAuthor&gt; if the names
                        should be displayed on separate lines.</para>
                    <para>Projects may use the &lt;name&gt; element to surround each
                        author's name. This practice is optional, but is particularly useful when
                        more than one name has been encoded in a single &lt;docAuthor&gt;.
                        The &lt;name&gt; element also allows projects to regularize names
                        using the <emphasis role="bold">reg</emphasis> attribute.</para>
                    <para>In the content of &lt;docAuthor&gt; and &lt;name&gt;,
                        names should be recorded as they appear on the title page. Do not attempt to
                        reorder the name into catalog entry form or use the form of the name as it
                        may appear in a name authority file. Again, the <emphasis role="bold">reg</emphasis> attribute may be used to correlate a name to an authority.</para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[<docAuthor>
  <name>Tom Jennings </name> and 
  <name>Julia Hoffman, MD</name>
</docAuthor>]]>
          </programlisting>
                    </informalexample>
                    <para>OR:</para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[<docTitle>
  <titlePart type="main">Canine morphotypes and physiology</titlePart>
</docTitle>
<docAuthor><name reg="Jennings, Tom">Tom Jennings</name></docAuthor>
<docAuthor><name reg="Hoffman, Julia">Julia Hoffman, MD</name></docAuthor>]]>
          </programlisting>
                    </informalexample>
                </sect3>
                <sect3 id="byline">
                    <title>&lt;byline&gt;</title>
                    <para>Authors are frequently listed on the title page accompanied by a more
                        explicit description of their role in the creation of the document; e.g.,
                        "foreword by" or simply "by." In such cases, encode both the
                        &lt;docAuthor&gt;s and their statements of responsibility inside an
                        encompassing &lt;byline&gt; element.</para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[<docTitle>
  <titlePart type="main">Canine morphotypes and physiology</titlePart>
</docTitle>
<byline>By <docAuthor>Tom Jennings</docAuthor> and 
<docAuthor>Julia Hoffman, MD</docAuthor></byline>]]>
          </programlisting>
                    </informalexample>
                </sect3>
                <sect3 id="publicationinfo">
                    <title>&lt;docImprint&gt;, &lt;pubPlace&gt;,
                        &lt;publisher&gt; </title>
                    <para>Record the remaining publication information in
                        &lt;docImprint&gt;. Within &lt;docImprint&gt;, use
                        &lt;pubPlace&gt; and &lt;publisher&gt; in any order and as
                        often as necessary to record every place of publication and every publisher respectively.</para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[<docImprint>
  <pubPlace> Collinsport:</pubPlace>
  <publisher> Stoddard and Associates, 1993.</publisher>
</docImprint>]]>
          </programlisting>
                    </informalexample>
                </sect3>
                <sect3 id="date">
                    <title>&lt;docDate&gt; </title>
                    <para>Record copyright and publication dates within &lt;docDate&gt; in
                        &lt;docImprint&gt;. Do not include any associated text or symbols
                        such as the word "copyright" or the symbol "©". Such words and
                        symbols may be kept in the surrounding &lt;docImprint&gt; element. A
                        regularized form of the date may be encoded in ISO 8601:2000 5.2.1.1
                        standard form (e.g., YYYY-MM-DD) in the <emphasis role="bold">value</emphasis> attribute of the &lt;docDate&gt;
                        element. This is useful if document dates need to be consistently indexed.</para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[&lt;docImprint&gt;New York Publishing Company &#xA9;<docDate value="1971.00.00"> 1971.</docDate>]]>
          </programlisting>
                    </informalexample>
                    <para>
                        <emphasis role="bold">
                            <ulink url="http://www.tei-c.org/P4X/DS.html#DSTITL">[P4: 7.5]</ulink>
                        </emphasis>
                    </para>
                </sect3>
            </sect2>
        </sect1>
        <sect1 id="body">
            <title>Document Body</title>
            <sect2>
                <title>&lt;body&gt;</title>
                <para>Containing the main body of the text, the mandatory &lt;body&gt;
                    element is further subdivided into a hierarchy of nested divisions beginning
                    with a mandatory &lt;div1&gt;. Use the <emphasis role="bold">type</emphasis> attribute in each
                    &lt;div<emphasis>n</emphasis>&gt; to describe the type of section being
                    encoded. For a full list of the types available, please see the section on divisions.</para>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/DS.html#DSDIV">[P4: 7.1]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="back">
            <title>Back Matter</title>
            <sect2>
                <title>&lt;back&gt;</title>
                <para>The optional &lt;back&gt; element may contain any number of
                    &lt;div<emphasis>n</emphasis>&gt; elements containing afterwords,
                    epilogues, or other sections that appear at the end of the document after the
                    main body of the text. Use the <emphasis role="bold">type</emphasis> attribute
                    in each &lt;div<emphasis>n</emphasis>&gt; to describe the type of back
                    matter being encoded. For a full list of the types of
                    &lt;div<emphasis>n</emphasis>&gt;s available in &lt;back&gt;,
                    please see the section on divisions.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<back>
   <div1 type="epilogue">
      <head>Epilogue</head>
      <p>And so it came to be that all the creatures. . .
      </p>
   </div1>
]]>
            </programlisting>
                </informalexample>
            </sect2>
        </sect1>
        <sect1 id="div">
            <title>Divisions</title>
            <sect2>
                <title>&lt;div<emphasis>n</emphasis>&gt;</title>
                <para>The&lt;front&gt;, &lt;body&gt;, and &lt;back&gt;
                    elements in the document must use a hierarchical structure of numbered
                    &lt;div<emphasis>n</emphasis>&gt; elements to identify their significant
                    divisions. The elements &lt;body&gt; and &lt;back&gt; are both
                    required to contain at least one &lt;div1&gt;. No unnumbered
                    &lt;div&gt; or &lt;div0&gt; elements are permitted.</para>
                <para>Each &lt;div<emphasis>n</emphasis>&gt; element throughout the text
                    must have a unique <emphasis role="bold">id</emphasis> attribute to serve as an
                    indentifier. If necessary these can be added automatically on ingest by the CDL,
                    depending on the project's submission agreement with the CDL.</para>
                <para>All &lt;div<emphasis>n</emphasis>&gt;s must also contain a <emphasis role="bold">type</emphasis> attribute describing the kind of division being
                    encoded. Every attempt should be made to supply the most specific and consistent
                        <emphasis role="bold">type</emphasis> values possible for
                    &lt;div<emphasis>n</emphasis>&gt; elements.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<div1 id="ch01" type="chapter">
  <div2 id="ss1.1" type="ss1">
    <div3 id="ss2.1" type="ss2">
      <div4 id="ss3.1" type="ss3">]]>
          </programlisting>
                </informalexample>
                <para> The following <emphasis role="bold">type</emphasis> attribute values are
                    suggested for manuscripts. Please feel free to create other <emphasis role="bold">type</emphasis> values as needed, remembering to document them in
                    the &lt;editorialDecl&gt;. Please note that the <emphasis role="bold">type</emphasis>s listed below may be used for
                    &lt;div<emphasis>n</emphasis>&gt;s in &lt;front&gt;,
                    &lt;body&gt;, or &lt;back&gt; as necessary.</para>
                <para>For correspondence:</para>
                <informaltable>
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>type of division</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">letter</emphasis>
                                </entry>
                                <entry>main letter</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">letText</emphasis>
                                </entry>
                                <entry>letter text (as opposed to letterhead, etc.)</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">enclosure</emphasis>
                                </entry>
                                <entry>enclosure</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">envelope</emphasis>
                                </entry>
                                <entry>envelope</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">letPart</emphasis>
                                </entry>
                                <entry>letter part</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">postscript</emphasis>
                                </entry>
                                <entry>postscript</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">letterhead</emphasis>
                                </entry>
                                <entry>letterhead</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">secLet</emphasis>
                                </entry>
                                <entry>secondary letter</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">docket</emphasis>
                                </entry>
                                <entry>docket</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">postmark</emphasis>
                                </entry>
                                <entry>postmark</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">addressee</emphasis>
                                </entry>
                                <entry>name and/or address of recipient</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">sender</emphasis>
                                </entry>
                                <entry>name and/or address of sender</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para>For literary manuscripts</para>
                <informaltable>
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>
                                    <emphasis role="bold">value</emphasis>
                                </entry>
                                <entry>type of division</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">chapter</emphasis>
                                </entry>
                                <entry>chapter</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">section</emphasis>
                                </entry>
                                <entry>section</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">ss1-ss6 </emphasis>
                                </entry>
                                <entry>sections 1-6</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">verse</emphasis>
                                </entry>
                                <entry>poem or other verse (see also 2.11 on verse types)</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">introduction</emphasis>
                                </entry>
                                <entry> introduction</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">epilogue</emphasis>
                                </entry>
                                <entry>epiglogue</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">comment </emphasis>
                                </entry>
                                <entry>commentary </entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">part</emphasis>
                                </entry>
                                <entry>manuscript part</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">dedication</emphasis>
                                </entry>
                                <entry>dedication</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para> Manuscripts that are formatted like books may also borrow from the div types
                    available in the CDL TEI Printed Book guidelines. </para>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/DS.html#DSDIV2">[P4: 7.1.2]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="open-close">
            <title>Division Headings, Openers, and Closers</title>
            <para>Significant textual divisions often open with a heading identifying the content of
                the division. They may also begin and end with phrases such as bylines, epigraphs,
                datelines, and the like.</para>
            <sect2 id="head">
                <title>&lt;head&gt;</title>
                <para>The &lt;head&gt; element is used to record division headings, such as
                    chapter or section titles, and is used by the system for allow users to navigate
                    easily from one section to another.</para>
                <para> Specific guidelines are supplied below regarding where &lt;head&gt;s
                    may or may not appear. Generally, record headings as they appear in the source document.</para>
                <para>Headings may be supplied by the encoder if they are not available in the text
                    but are necessary in order to provide a way of navigating to a particular
                    division. Headings may also be supplied in cases in which a &lt;head&gt;
                    is necessary to conform to rules about when they must appear.</para>
                <para>Supplied headings should be enclosed in square brackets or signalled by some
                    other convention expressly detailed in the &lt;editorialDecl&gt; of the &lt;teiHeader&gt;.</para>
                <informalexample>
                    <para>Title transcribed from text:</para>
                    <programlisting format="linespecific">
<![CDATA[<head>Chapter 4. The Ghost Returns to Middlington Manor.</head>]]>
        </programlisting>
                </informalexample>
                <para>Title supplied by encoder:</para>
                <informalexample>
                    <programlisting format="linespecific">
          <![CDATA[<head>[Segment 2]</head>]]>
        </programlisting>
                </informalexample>
                <para>It is good practice to provide a &lt;head&gt; tag for all major
                    textual divisions. In any case, the following rules must be strictly followed:</para>
                <orderedlist>
                    <listitem>
                        <para>If any &lt;div<emphasis>n</emphasis>&gt; at any level contains
                            a &lt;head&gt;, then all of its sibling
                            &lt;div<emphasis>n</emphasis>&gt;s at the same level must also
                            contain a &lt;head&gt;. Therefore, if any &lt;div1&gt;
                            uses a head, all &lt;div1&gt;s in the text must do so. If any
                            &lt;div2&gt; contains a &lt;head&gt;, all other
                            &lt;div2&gt;s nested with that &lt;div2&gt; in its
                            parent &lt;div1&gt; must also contain &lt;head&gt;s, etc.</para>
                    </listitem>
                    <listitem>
                        <para>If a &lt;div<emphasis role="italic">n</emphasis>&gt; at any
                            level is left without a &lt;head&gt;, then any subordinate
                                &lt;div<emphasis role="italic">n</emphasis>&gt;s below the
                            headless &lt;div<emphasis>n</emphasis>&gt; are not permitted to
                            have &lt;head&gt;s. Conversely, if any subordinate
                            &lt;div<emphasis>n</emphasis>&gt; contains a head, the parent
                            &lt;div<emphasis>n</emphasis>&gt; must also contain a &lt;head&gt;.</para>
                    </listitem>
                </orderedlist>
                <para>The following example is incorrect because one of the
                    &lt;div<emphasis>n</emphasis>&gt; descendants contains a
                    &lt;head&gt; but none of its ancestors contain one. If the rules are
                    strictly followed, the single &lt;div4&gt; with a &lt;head&gt;
                    forces all other &lt;div&gt;s in the tree to contain &lt;head&gt;s:</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<div1>
  <div2></div2>
  <div2></div2>
  <div2>
    <div3></div3>
    <div3>
      <div4><head></head></div4>
    </div3>
  </div2>
  <div2></div2>
</div1>]]>
          </programlisting>
                </informalexample>
                <para>Multiple &lt;head&gt; elements may be differentiated using the
                        <emphasis role="bold">type</emphasis> attribute (e.g., "subtitle" for a subtitle).</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<div1 id="ch01">
  <head type="main"> . . . </head>
  <head type="subtitle"> . . . </head>]]>
        </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="epigraphs">
                <title>&lt;epigraph&gt;</title>
                <para>Epigraphs contain quotations, anonymous or attributed, appearing at the start
                    of a section, chapter, or other major division. They should be enclosed within
                    the &lt;epigraph&gt; element. An epigraph appearing on a page by itself
                    should be encoded in &lt;epigraph&gt; within a
                    &lt;div<emphasis>n</emphasis> type="epigraph"&gt;.</para>
                <para>Within &lt;epigraph&gt;, attributed epigraphs should be enclosed
                    entirely within the &lt;cit&gt; element, with &lt;quote&gt;
                    containing the quoted passage and &lt;bibl&gt; containing the
                    attribution. Within &lt;quote&gt;, use &lt;p&gt;,
                    &lt;lg&gt;, or other block elements as necessary. </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<epigraph>
  <cit>
    <quote>"I believe that any other ideal is impracticable and is a collision with human destiny
    and God."</quote>
    <bibl>Attributed to George Herron.</bibl>
  </cit>
</epigraph>
 
                        
<epigraph>
   <cit>
      <quote>
            <lg>
             <l>`Twas brillig, and the slithy toves</l>
             <l>Did gyre and gimble in the wabe:</l>
             <l>All mimsy were the borogoves,</l>
             <l>And the mome raths outgrabe.</l>
             </lg>
      </quote>
        <bibl>"Jabberwocky"--Lewis Carroll</bibl>
   </cit> 
</epigraph>]]>
          </programlisting>
                </informalexample>
                <para>Within &lt;epigraph&gt;, unattributed epigraphs should simply be
                    encoded within &lt;quote&gt;, with &lt;p&gt; and other block
                    elements used as necessary to contain the quoted passage. There is no need to
                    use &lt;cit&gt; for unattributed epigraphs.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<div1 id="ch01" type="chapter" n="1">
   <head>Chapter 1</head>
   <epigraph>
      <quote>
         <p>I pity the man who can travel from Dan to Beersheba<p>
      </quote>
   </epigraph>

<epigraph>
  <quote rend="italic">
    <lg>
      <l>What you have seen to love in me</l>
      <l>I do not know.</l>
      <l>What I have seen to love in thee</l>
      <l>No word can show. </l>
      <l>But word or knowledge, dear, we lay aside.</l>
      <l>We need them not for compass or for guide.</l>
      <l>By love we go.</l>
    </lg>
  </quote>
</epigraph>]]>
        </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="opener">
                <title>&lt;opener&gt;, &lt;closer&gt;</title>
                <para>Projects encoding correspondence or other letter-like documents may wish to
                    use &lt;opener&gt; and &lt;closer&gt; (and other elements that
                    are allowed within them such as &lt;salute&gt;, &lt;signed&gt;,
                    and &lt;dateline&gt;) in order to take advantage of the additional
                    structuring they provide. They allow for certain text features that need to be
                    identified for analytical or formatting purposes--such as, addresses, datelines,
                    salutations, signatures, or postscripts--to be grouped neatly at the beginning
                    or end of &lt;div<emphasis>n</emphasis>&gt;s. Because these elements can
                    require fairly heavy analytic encoding and introduce additional encoding
                    restrictions, they are not required. In fact, they are discouraged for projects
                    that do not need to perform a high level of analysis with their encoding.
                    Projects wishing to use &lt;opener&gt; and &lt;closer&gt; must
                    consult TEI P4 for more detailed instructions on their use. The letter
                    containing the following text could be encoded using different structural
                    hierarchies, depending on what text features the project wishes to make distinct:</para>
                <para>From the Desk of Martin Snope</para>
                <para>The Willows</para>
                <para>Chicago, Illinois</para>
                <para>June 14, 1952</para>
                <para>Dear Isabella,</para>
                <para>I have arrived home at last and will not leave again until August.</para>
                <para>Encoded with &lt;opener&gt;:</para>
                <informalexample>
                    <programlisting>
    <![CDATA[<text>
<body>
<div1 type="letter">
<opener>
From the Desk of Martin Snope
<address><addrLine>The Willows</addrLine>
<addrLine>Chicago, Illinois</addrLine>
<address>
<dateline>June 14, 1952</dateline>
<salute>Dear Isabella,</salute>
</opener>
<p>I have arrived home at last . . . </p></div1>]]></programlisting>
                    <para>Encoded without &lt;opener&gt;:</para>
                    <programlisting format="linespecific">
<![CDATA[<text>
<body>
<div1 type="letter">
<p>
From the Desk of Martin Snope
<address><addrLine>The Willows</addrLine>
<addrLine>Chicago, Illinois</addrLine>
<address>
</p>
<p>June 14, 1952</p>
<p>Dear Isabella,</p>
<p>I have arrived home at last . . . </p></div1>]]>
</programlisting>
                </informalexample>
            </sect2>
            <sect2 id="byline2">
                <title>&lt;byline&gt;</title>
                <para>Bylines are formal statements of responsibility, which may sometimes be found
                    near the top of a division (usually after a &lt;head&gt;) and sometimes
                    at the bottom. Do not use &lt;bylines&gt; to record attributive
                    information for quoted passages; use instead the
                    &lt;cit&gt;/&lt;quote&gt;/&lt;bibl&gt; structure
                    described in the section on quotations. Do not use &lt;byline&gt; for
                    the attribution of correspondence, which is normally signed
                    (&lt;signed&gt;). Do not use &lt;byline&gt; when a more complete
                    bibliographical citation is present; in that case &lt;bibl&gt; is
                    normally more appropriate. (See the section on bibliographic citation.) Take
                    care not to confuse the the use of &lt;byline&gt; and similar elements
                    within &lt;div<emphasis>n</emphasis>&gt;s with their use within formal &lt;titlePage&gt;s.</para>
                <informalexample>
                    <programlisting role="linespecific">
<![CDATA[<div1 type="introduction">
  <head>Introduction</head> 
  <byline>by Sherna Gluck</byline>
  <p>The following interviews with Sylvie Thygeson represent two distinct interviews ...]]>

                            
<![CDATA[<div2 type="essay">
  <head>In the Public Interest——Jeannette Rankin</head>
  <bibl>by <author>Ralph Nadar</author>
    (<title rend="italic">The New Republic Feature Syndicate</title>
    <biblScope>Number 33</biblScope>
    <date>September 11, 1972</date>)
  </bibl>
  <p>WASHINGTON——A few weeks ago we sent a questionnaire ...]]>
        </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="dateline">
                <title>&lt;dateline&gt;</title>
                <para>Use &lt;dateline&gt; to encode a place and date associated with the
                    creation of the document. Encode the place name directly within
                    &lt;dateline&gt;, but use &lt;date&gt; to enclose the date
                    itself within &lt;dateline&gt;. When additional address information is
                    available, use &lt;address&gt; within &lt;dateline&gt;. (See the
                    section on addresses.) As with &lt;byline&gt;, do not use
                    &lt;dateline&gt; to encode more complete bibliographic citations. Use
                    &lt;bibl&gt; instead.</para>
                <para>
                    <emphasis role="bold">Example:</emphasis>
                </para>
                <informalexample>
                    <programlisting role="linespecific">
<![CDATA[<div1 type="chapter">
  <head>Prologue</head>
  <dateline>March 1945: Shensi Province, China</dateline>
  <p>A dull orange haze, the first light of dawn, ...]]>
        </programlisting>
                </informalexample>
            </sect2>
        </sect1>
        <sect1 id="p">
            <title>Paragraphs</title>
            <sect2>
                <title>&lt;p&gt;</title>
                <para>The paragraph is the fundamental organizational unit for all prose texts.
                    Paragraphs are encoded within &lt;p&gt;s, which, by default, begin a new
                    line and are displayed with the first line indented. To dictate a different
                    display, use the <emphasis role="bold">rend</emphasis> attribute in
                    &lt;p&gt;. Please see the section on alignment and indention for a list
                    of available <emphasis role="bold">rend</emphasis> values.</para>
                <informalexample>
                    <programlisting>
                <![CDATA[
<p>In another moment down went Alice after it, never once
considering how in the world she was to get out again.</p>               
                    ]]>
                </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#COPA">[P4: 6.1]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="milestones">
            <title>Page Breaks and Milestones</title>
            <para>Milestones are empty elements (&lt;lb&gt;, &lt;milestone&gt;,
                &lt;pb&gt;) that serve a function in the text analogous to the one mileposts
                serve on a road. They are used to mark significant points in the text, often
                beginnings or endings of sections, that exist outside the hierarchy of
                &lt;div<emphasis>n</emphasis>&gt; containers.</para>
            <sect2 id="pb">
                <title>&lt;pb&gt;</title>
                <para>Projects must use the empty &lt;pb&gt; element to mark the beginning
                    of each physical page of the manuscript (including the first page). The
                    &lt;pb&gt; element should be placed at the beginning of each page, but
                    entirely within any overlapping &lt;div<emphasis>n</emphasis>&gt;. Never
                    encode &lt;pb/&gt; between &lt;divn&gt; elements. All such
                    interstitial page numbers should be encoded as if they belonged to the nearest
                    subsequent &lt;div<emphasis>n</emphasis>&gt;, before any
                    &lt;head&gt; elements. If a page break occurs in the middle of a smaller
                    block element (e.g., &lt;p&gt;), it can simply be encoded there. </para>
                <para>The <emphasis role="bold">n</emphasis> attribute should be used to record the
                    physical position of the page within the sequence of pages. Sometimes this
                    numbering will differ from the numbers that the manuscript author has provided.
                    (Page numbers written on the manuscript are recorded within &lt;fw&gt;.
                    See below.)</para>
                <para> Projects may choose to number manuscript pages or leaves in a variety of
                    ways. If the text of a document primarily appears on one side of a leaf, then
                    the recto pages may be numbered 1, 2, 3, etc. with the occasional text on the
                    verso labeled 1verso, 2verso, 3verso, etc. If the text is written on both sides
                    of the leaf, then each side may be considered its own page and numbered 1, 2, 3,
                    4, etc. If the document has been folded so that text runs in columns on the
                    physical leaf and it is necessary to differentiate the two columns as separate
                    "pages" (because the author did so or because each column was scanned into a
                    separate image file), then each column may also be numbered 1, 2, 3 and
                    separated with page breaks. Regardless of which numbering scheme a project
                    chooses, empty pages need not be labeled as such; a &lt;pb/&gt; followed
                    directly by another &lt;pb/&gt; will suffice. </para>
                <informalexample>
                    <programlisting format="linespecific"><![CDATA[<pb n="1"/>
<pb n="1verso"/>
<pb n="2"/>]]></programlisting>
                </informalexample>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<div1 type="chapter" n="I" id="ch01">
  <pb n="1" id="p1"/>
  <head>Introduction</head>
]]>
          </programlisting>
                </informalexample>
                <para>If anything is linked to the page breaks (such as an index entry or table of
                    contents that refers to pages), the <emphasis role="bold">id</emphasis>
                    attribute is required.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<p>of the Sea, <ref target="p1" type="pageref">1</ref></p>
. . .
<pb n=1 id="p1"/]]>
          </programlisting>
                </informalexample>
                <sect3 id="fw">
                    <title>&lt;fw&gt;</title>
                    <para>Catchwords and page numbers may be recorded in &lt;fw&gt; ('forme
                        work'). These need not necessarily be recorded unless full diplomatic
                        transcription standards are being pursued or projects otherwise find it
                        important to record them. Nevertheless, it is generally good practice to
                        record in &lt;fw type="pag"&gt; the page number assigned by the
                        author in order to preserve the original order and/or understand where there
                        may be gaps or additions to the manuscript. Use &lt;fw&gt; only for
                        numbers that are actually written on the page:</para>
                    <informalexample>
                        <programlisting format="linespecific">
                      <![CDATA[<fw type="pag">1</fw>]]>
                    </programlisting>
                    </informalexample>
                    <para>The &lt;fw&gt; element must contain a <emphasis role="bold">type</emphasis> attribute. Possible values are: </para>
                    <informaltable>
                        <tgroup cols="2">
                            <thead>
                                <row>
                                    <entry>value</entry>
                                    <entry>description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>
                                        <emphasis role="bold">header</emphasis>
                                    </entry>
                                    <entry>a running title at the top of the page</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">footer</emphasis>
                                    </entry>
                                    <entry>a running title at the bottom of the page</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">pag</emphasis>
                                    </entry>
                                    <entry>a page number or foliation symbol</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">sig</emphasis>
                                    </entry>
                                    <entry>a signature or gathering symbol</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">catch</emphasis>
                                    </entry>
                                    <entry>a catch-word</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                    <para>Page numbers in manuscripts have often been revised. Projects wishing to
                        capture such revision may do so within &lt;fw&gt; using
                        &lt;add&gt; and &lt;del&gt;. See the section on revisions
                        for more information. </para>
                    <informalexample>
                        <programlisting format="linespecific">
                    <![CDATA[<fw type="pag"><del>1</del><add>2</add></fw>]]>
                    </programlisting>
                    </informalexample>
                    <para>The &lt;fw&gt; element should directly follow the
                        &lt;pb&gt; element indicating the start of the page on which it
                        appears, regardless of where it actually physically appears on the page. Projects that
                        wish to record the location of the content of &lt;fw&gt; should use
                        the <emphasis role="bold">place</emphasis> attribute. </para>
                    <para>[P4:18.3] </para>
                </sect3>
            </sect2>
            <sect2 id="lb">
                <title>&lt;lb&gt;</title>
                <para> Normally, full diplomatic transcription would require that the text be
                    transcribed line-for-line and the line breaks recorded in XML using the empty
                    &lt;lb/&gt; tag to mark the start of a new line. However, projects may
                    forgo this practice, as long as the policy regarding transcription of lineation
                    is expressly set out in the &lt;editorialDecl&gt;. </para>
                <para>Projects should be aware that not transcribing manuscripts line-for-line may
                    create difficulties in transcription that may only be resolved by emendation
                    (e.g., hyphenation). Therefore, they should only forgo recording line breaks
                    when they feel prepared to develop and consistently apply a specific emendation
                    policy, possibly also involving the use of TEI's critical apparatus mechanism.
                    Any such policy must be documented in the &lt;editorialDecl&gt;.</para>
                <para> Note that the &lt;lb&gt; tag is intended for marking line breaks in
                    prose only. The &lt;l&gt; element must be used to mark lines of verse.
                    (See the section on verse.)</para>
                <informalexample>
                    <programlisting><![CDATA[<p>The next Saturday, we went<lb/>
to the park and sat feeding<lb/>
the pigeons.</p>]]></programlisting>
                </informalexample>
            </sect2>
            <sect2 id="milestone">
                <title>&lt;milestone&gt;</title>
                <para>The empty &lt;milestone&gt; element may be used to mark significant
                    boundaries between sections of text that are neither page breaks nor normal
                    divisions. For instance, it may be used to encode the decorative section breaks.
                    The <emphasis role="bold">unit</emphasis> attribute is required to describe the
                    kind of break being marked. The <emphasis role="bold">n</emphasis> attribute
                    must be used to record any characters or symbols that are used to create the boundary.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<milestone unit="endPart" n="&2766;"/>
                        
<milestone unit="endPart" n="****"/>]]>
          </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#CORS5">[P4: 6.9.3]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="font">
            <title>Typographical Phenomena and Formatting</title>
            <sect2 id="hi">
                <title>&lt;hi&gt;</title>
                <para>Record underscoring and other typographical highlighting with the
                    &lt;hi&gt; element. Use the required <emphasis role="bold">rend</emphasis> attribute to record the type of highlighting
                    employed in the source document. Unless otherwise stated in the
                    &lt;editorialDecl&gt;, the value of the <emphasis role="bold">rend</emphasis> attribute must convey and ultimately display (if
                    possible) the actual marking in the source document. </para>
                <para>When text with special highlighting has already been tagged for other
                    structure or content, and when the special highlighting is consistent, the
                        <emphasis role="bold">rend</emphasis> value can be applied directly to the
                    encompassing tag. For example, if the contents of &lt;name&gt; are
                    underscored, or if the contents of &lt;p&gt; are entirely in small caps,
                    then the <emphasis role="bold">rend</emphasis> values of those tags can be
                    defined accordingly. Because <emphasis role="bold">rend</emphasis> is a global
                    attribute, it is available for all TEI elements. When special formatting does
                    not coincide perfectly with an encompassing tag (as is often the case),
                    &lt;hi&gt; is used to surround the special text.</para>
                <informalexample>
                    <programlisting format="linespecific">
          <![CDATA[<p><hi rend="underline">Where</hi> did he go?</p>
                        
          <head rend="smallcaps">The Last Stand</head>]]> 
          </programlisting>
                </informalexample>
                <para>The CDL supports the following <emphasis role="bold">rend</emphasis> values
                    for display:</para>
                <informaltable frame="top">
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>display</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">normal</emphasis>
                                </entry>
                                <entry>standard font for document; unemphasized or highlighted text;
                                    should be used to format unemphasized text in the middle of an
                                    emphasized passage</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">mono</emphasis>
                                </entry>
                                <entry>mono-spaced font, e.g., Courier</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">italic</emphasis>
                                </entry>
                                <entry>italics</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">smallcaps</emphasis>
                                </entry>
                                <entry>small caps</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">bold</emphasis>
                                </entry>
                                <entry>bold</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">bolder</emphasis>
                                </entry>
                                <entry>extra bold</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">lighter</emphasis>
                                </entry>
                                <entry>extra light</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">underline</emphasis>
                                </entry>
                                <entry>underscored</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">overline</emphasis>
                                </entry>
                                <entry>written with a line drawn above the text</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">strikethrough</emphasis>
                                </entry>
                                <entry>strikethrough</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">subscript</emphasis>
                                </entry>
                                <entry>below the baseline of standard text</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">superscript</emphasis>
                                </entry>
                                <entry>above the baseline of standard text</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">hide</emphasis>
                                </entry>
                                <entry>do not display</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para> Additional suggested rend values for manuscripts are: </para>
                <informaltable>
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>display</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">fancy </emphasis>
                                </entry>
                                <entry>cursive or stylized text</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">preprint</emphasis>
                                </entry>
                                <entry>pre-printed or typeset text (e.g., on stationery)</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">2-underline</emphasis>
                                </entry>
                                <entry>double underscore</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">3-underline</emphasis>
                                </entry>
                                <entry>triple underscore</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">4-underline</emphasis>
                                </entry>
                                <entry>quadruple underscore</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">del-underline</emphasis>
                                </entry>
                                <entry>deleted underscore</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">2-del-underline</emphasis>
                                </entry>
                                <entry>deleted double underscore</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">3-del-underline</emphasis>
                                </entry>
                                <entry>deleted triple underscore</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">4-del-underline</emphasis>
                                </entry>
                                <entry>deleted quadruple underscore</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">wavy-underline</emphasis>
                                </entry>
                                <entry>wavy underline</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">dash-underline</emphasis>
                                </entry>
                                <entry>dashed underline</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">dot-underline</emphasis>
                                </entry>
                                <entry>dotted underline</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">paraph</emphasis>
                                </entry>
                                <entry>paraph or flourish beneath text</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">boxed</emphasis>
                                </entry>
                                <entry>text that has a box drawn around it</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">circled</emphasis>
                                </entry>
                                <entry>text that has a circle drawn around it</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para>Text that is not different in style but in orientation may also be
                    distinguished using the <emphasis role="bold">rend</emphasis> attribute.
                    Available <emphasis role="bold">rend</emphasis> values are: </para>
                <informaltable>
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>display</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">cross-written</emphasis>
                                </entry>
                                <entry>written across previously written text</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">diag</emphasis>
                                </entry>
                                <entry>written diagonally</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">vert</emphasis>
                                </entry>
                                <entry>written vertically, at 90 degrees to rest of text</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">up-down</emphasis>
                                </entry>
                                <entry>written upside-down on the page</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para>Projects requiring more specialized display may include syntax from the <ulink url="http://www.w3.org/Style/CSS/">Cascading Style Sheet (CSS)</ulink>
                    standard in the <emphasis role="bold">rend</emphasis> attribute.</para>
                               <informalexample>
                                  <programlisting format="linespecific">
    <![CDATA[
<p rend ="color: white; background-color: red">This text will be white on a red background.</p>]]></programlisting>
                </informalexample>
            </sect2>
            <sect2 id="multipleHi">
                <title>Nested &lt;hi&gt; Tags</title>
                <para>When multiple <emphasis role="bold">rend</emphasis> values are required for a
                    single element, repeat &lt;hi&gt; elements as necessary. For instance,
                    in the following example, the word "wow" is rendered in both bold and italics as
                        <emphasis role="bold"> "<emphasis>wow</emphasis>" </emphasis>.</para>
                <informalexample>
                    <programlisting format="linespecific">
        <![CDATA[<hi rend="bold"><hi rend="italic">wow!</hi></hi>]]></programlisting>
                </informalexample>
                <para>Remember that once a <emphasis role="bold">rend</emphasis> value has been
                    applied to a tag, the display is applied to the entire contents of that tag
                    unless it is explicitly negated by another tag. For instance, the tagging</para>
                <informalexample>
                    <programlisting format="linespecific">
        <![CDATA[<hi rend="bold">w<hi rend="italic">ow!</hi></hi> ]]></programlisting>
                </informalexample>
                <para>will produce the word "<emphasis role="bold">w<emphasis>ow</emphasis>
                    </emphasis>". </para>
                <para>On the other hand, the tagging</para>
                <informalexample>
                    <programlisting format="linespecific">
        <![CDATA[<hi rend="bold">w<hi rend="normal"><hi rend="italic">ow!</hi></hi></hi> ]]></programlisting>
                </informalexample>
                <para>will produce the word "<emphasis role="bold">w</emphasis>
                    <emphasis>ow</emphasis>". </para>
            </sect2>
            <sect2 id="emph">
                <title>&lt;emph&gt;</title>
                <para>If desired, the &lt;emph&gt; element may be used instead of
                    &lt;hi&gt; to mark typographic highlighting that explicitly conveys
                    emphasis rather than some other meaning. In the following example, the word
                    "very" is underscored to provide emphasis.</para>
                <informalexample>
                    <programlisting format="linespecific">
        <![CDATA[<hi rend="bold">Once Upon a Time</hi> Chicken Little decided to build a <emph 
rend="underline">very</emph> big house.
 ]]></programlisting>
                </informalexample>
                <para>The same <emphasis role="bold">rend</emphasis> values available for
                    &lt;hi&gt; are also available for &lt;emph&gt;, as they are for
                    all <emphasis role="bold">rend</emphasis> attributes in any element.</para>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#COHQ">[P4: 6.3.2.2]</ulink>
                    </emphasis>
                </para>
            </sect2>
            <sect2 id="indent">
                <title>Alignment and Indention</title>
                <para>Alignment and indention of text can also be represented using the <emphasis role="bold">rend</emphasis> attribute in &lt;hi&gt; or any other
                    encompassing tag. Available <emphasis role="bold">rend</emphasis> attribute
                    values for alignment are:</para>
                <informaltable frame="top">
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>display</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">left</emphasis>
                                </entry>
                                <entry>justify left, ragged right, standard initial indent</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">center</emphasis>
                                </entry>
                                <entry>center</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">right</emphasis>
                                </entry>
                                <entry>justify right, ragged left, standard initial indent</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">justify</emphasis>
                                </entry>
                                <entry>fully justify</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">indent</emphasis>
                                </entry>
                                <entry>standard paragraph indent</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">hang</emphasis>
                                </entry>
                                <entry>hanging indent</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">blockindent</emphasis>
                                </entry>
                                <entry>full block indent</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">blockquote</emphasis>
                                </entry>
                                <entry>full block indent used for quotes (&lt;quote&gt;)</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">noindent</emphasis>
                                </entry>
                                <entry>fully flush left, with no initial indent</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">inline</emphasis>
                                </entry>
                                <entry>keeps elements that usually create a line break from starting
                                    a new line; only the element that would follow the break needs
                                    to be tagged as 'inline'</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">halfline</emphasis>
                                </entry>
                                <entry>records a half line space before the tagged element</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para>Projects requiring more precise alignment of text may also use <ulink url="http://www.w3.org/Style/CSS/">CSS</ulink> language within the <emphasis role="bold">rend</emphasis> attribute to describe the alignment required.</para>
                <informalexample>
                    <programlisting format="linespecific">
    <![CDATA[[4em hanging indent]
<p rend ="text-indent: -4em; margin-left: 4em"> ]]></programlisting>
                </informalexample>
                <para> Note that all &lt;p&gt;s are flush left with an initial indent by
                    default, so any paragraph that should not be indented must be given a <emphasis role="bold">rend</emphasis> value of "noindent".</para>
            </sect2>
        </sect1>
        <sect1 id="foreign">
            <title>Language Shifts</title>
            <sect2>
                <title>&lt;foreign&lt;</title>
                <para>Use the &lt;foreign&gt; element to tag text that appears in a language
                    that will require the use of a different character set or writing direction. The
                        <emphasis role="bold">lang</emphasis> attribute must contain the name of the
                    applicable language as given in the <ulink url="/stwg/metadata/META_BPG.html#d0e294">&lt;language&gt;
                    element</ulink> of the TEI header. Note that the language
                    <emphasis>must</emphasis> be declared in the TEI header in order for this
                    attribute to function. The enclosed text should be input using the appropriate
                    Unicode character entitities. (See the section on character encoding.)</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[
   <profileDesc>
  <langUsage>
    <language id="Greek">(Range: 0370-03FF)</language>
  </langUsage>
. . .
     <foreign lang="Greek">&#0371;&#0372;&#0399;</foreign>]]>
                </programlisting>
                    <para>ųŴƏ</para>
                </informalexample>
            </sect2>
        </sect1>
        <sect1 id="handshift">
            <title>Changes in Hand</title>
            <para>Projects may wish to record in their encoding the fact that some parts of the text
                are written in a hand other than that of the primary author. To do so, projects must
                first include in the &lt;handList&gt; of the TEI header all
                &lt;hand&gt;s that are present in the manuscript. (See the section on
                &lt;handList&gt; above.) Recall that each &lt;hand&gt; must carry a
                    <emphasis role="bold">first</emphasis> attribute that will indicate whether that
                hand is considered the primary hand in the manuscript or not. All elements will be
                considered as having been written in the primary hand unless otherwise encoded.</para>
            <para>To encode the presence of another hand, use the <emphasis role="bold">hand</emphasis> attribute in an element that encompasses the text in
                question. The value of the <emphasis role="bold">hand</emphasis> attribute must
                correspond to the <emphasis role="bold">id</emphasis> attribute of the appropriate
                &lt;hand&gt; in the &lt;handList&gt;. The <emphasis role="bold">hand</emphasis> attribute is available in the following elements: <simplelist>
                    <member>&lt;p&gt;</member>
                    <member>&lt;l&gt;</member>
                    <member>&lt;note&gt;</member>
                    <member>&lt;add&gt;</member>
                    <member>&lt;add&gt;</member>
                    <member>&lt;del&gt;</member>
                    <member>&lt;ab&gt;</member>
                    <member>&lt;seg&gt;</member>
                </simplelist>
            </para>
            <para>The &lt;ab&gt; and &lt;seg&gt; elements are arbitrary containers
                that can be used when there is no other appropriate encompassing tag on which to
                hang a <emphasis role="bold">hand</emphasis> attribute.</para>
            <informalexample>
                <programlisting format="linespecific">
<![CDATA[<p>Where <del hand="AC">the heck</del> did they go?</p>]]>
</programlisting>
            </informalexample>
        </sect1>
        <sect1 id="quotes">
            <title>Quotations</title>
            <para>Quotations that are set apart from the rest of the text by quotation marks need
                not be specially encoded. Quotation marks are normally left intact in the text and,
                if possible, recorded in the form that they appear (i.e., straight or curly, single
                or double). (The exceptions to this rule are quotations marks around
                &lt;title&gt;s in bibliographic citations that use the <emphasis role="bold">level</emphasis> attribute to provide their formatting [see the section
                on <link linkend="bib">bibliographies</link>].)</para>
            <para>Quotations that employ formatting beyond the simple use of quotation marks must be
                specifically tagged. Simple block quotes containing only one paragraph may be
                recorded using &lt;p&gt;.</para>
            <informalexample>
                <programlisting format="linespecific">
<![CDATA[<p rend="blockindent">It was seen from the beginning of the study . . . </p>]]>
      </programlisting>
            </informalexample>
            <sect2>
                <title>&lt;quote&gt;</title>
                <para>Quotes comprising multiple paragraphs or lines of verse should be enclosed in
                    the &lt;quote&gt; element, with individual paragraphs contained in
                    &lt;p&gt;s and lines of verse contained in &lt;lg&gt; and &lt;l&gt;.</para>
                <informalexample>
                    <programlisting format="linespecific">      
<![CDATA[<quote rend="blockquote">
  <p>It was seen from the beginning that the study . . . </p>
  . . .
</quote>
                        
 <quote>
    <lg>
      <l>What you have seen to love in me</l>
      <l>I do not know.</l>
      <l>What I have seen to love in thee</l>
      <l>No word can show. </l>
      <l>But word or knowledge, dear, we lay aside.</l>
      <l>We need them not for compass or for guide.</l>
      <l>By love we go.</l>
    </lg>
  </quote>  ]]>
          </programlisting>
                </informalexample>
            </sect2>
            <sect2>
                <title>&lt;cit&gt;</title>
                <para>If desired, quotations that are accompanied by citations may be encoded using
                    &lt;cit&gt;. Enclose both the quote and the citation within
                    &lt;cit&gt;. The text of the quote should be further enclosed within
                    &lt;q&gt; and &lt;p&gt; as necessary, and the bibliographic
                    citation should be further enclosed within &lt;bibl&gt;.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<cit>
   <quote>
      <l>Since I can do no good because a woman</l>
      <l>Reach constantly at something that is near it.</l>
   </quote>
   <bibl>
      <title>The Maid's Tragedy</title>
      <author>Beaumont and Fletcher</author>
   </bibl>
</cit>
                        
<cit>
      <quote>
            <lg>
             <l>`Twas brillig, and the slithy toves</l>
             <l>Did gyre and gimble in the wabe:</l>
             <l>All mimsy were the borogoves,</l>
             <l>And the mome raths outgrabe.</l>
             </lg>
      </quote>
        <bibl>"Jabberwocky"--Lewis Carroll</bibl>
 </cit> ]]>
        </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#COHQQ">[P4: 6.3.3]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="speech">
            <title>Speech</title>
            <para>Texts that are made up primarily of attributed speech--e.g., plays, screenplays,
                and interview transcripts--should be encoded using the &lt;sp&gt; and
                &lt;speaker&gt; elements. Transcriptions of speech embedded in prose or
                verse texts may also be encoded using these elements. </para>
            <sect2 id="sp">
                <title>&lt;sp&gt;</title>
                <para>The &lt;sp&gt; element is used to contain instances of speech in a
                    performance text or a transcript of spoken words in a prose or verse text. The
                    entire speech along with its attribution should be encoded within
                    &lt;sp&gt;. Within &lt;sp&gt;, use &lt;p&gt;, &lt;lg&gt; and other
                    block elements as necessary to format and contain the contents of the speech. </para>
                <informalexample>
                    <programlisting format="linespecific">
                <![CDATA[<sp>
      <speaker>FILCH.</speaker>
      <p>Sir, Black Moll hath sent word her Trial comes on in
       the Afternoon, and she hopes you will order Matters
       so as to bring her off.</p>
   </sp>
   <sp>
      <speaker>PEACHUM.</speaker>
      <p>Why, she may plead her Belly at worst; to my 
        Knowledge she hath taken care of that Security.
        But, as the Wench is very active and industrious, 
                you may satisfy her that I'll soften the Evidence.</p>]]></programlisting>
                </informalexample>
                <para>The &lt;sp&lt; element may also carry an optional <emphasis role="bold">who</emphasis> attribute that gives the identity of the speaker. The
                    value of <emphasis role="bold">who</emphasis> must refer to the <emphasis role="bold">id</emphasis> of a person previously identified in either a cast
                    list (&lt;role&gt; in &lt;castItem&gt; in
                    &lt;castList&gt; for dramas and screenplays) or a description of the
                    participants in a transcribed speech or interview (&lt;person&gt; in
                    &lt;partiDesc&gt;). For more specific information on how to assign
                        <emphasis role="bold">id</emphasis>s that would be valid in <emphasis role="bold">who</emphasis>, see <ulink url="http://www.tei-c.org/P4X/DR.html#DRCAST">P4: 10.1.4</ulink> for
                    encoding cast lists, <ulink url="http://www.tei-c.org/P4X/HD.html#HD4">P4:
                    5.4</ulink> for encoding participants.</para>
                <informalexample>
                    <programlisting role="linespecific">
<![CDATA[<profileDesc>
  <particDesc>
    <person id="LaBerge" role="interviewer/editor">
      <persName reg="LaBerge, Germaine">Germaine LaBerge</persName>
    </person>
    <person id="Bouche" role="interviewee">
      <persName reg="Bouché, Brieuc">Brieuc Bouché</persName>
    </person>
  </particDesc>
...
  <sp who="LaBerge">
    <speaker>LaBerge</speaker>
    <p>Why don't we start with where you were born, and a little bit about your family background?</p>
  </sp>
  <sp who="Bouche">
    <speaker>Bouché</speaker>
    <p>Yes. How much detail do you want? Full detail or just very sketchy?</p>
  </sp>]]>          
          </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="speaker">
                <title>&lt;speaker&gt;</title>
                <para>The &lt;speaker&gt; element is used within &lt;sp&gt; as a
                    specialized form of heading giving the name of the speaker responsible for the
                    spoken words. Encode the name of the speaker as it is given in the source
                    document. Do not supply a name if one does not appear in the source text. The
                    content of &lt;speaker&gt; is displayed in bold and flush left on a line
                    preceding the text of the speech.</para>
                <informalexample>
                    <programlisting>
<![CDATA[<sp who="LaBerge">
    <speaker>LaBerge</speaker>
    <p>Why don't we start with where you were born, and a little bit about your family background?</p>
  </sp>
  <sp who="Bouche">
    <speaker>Bouché</speaker>
    <p>Yes. How much detail do you want? Full detail or just very sketchy?</p>
  </sp>]]>          
    </programlisting>
                    <para>is displayed as:</para>
                    <para>
                        <emphasis role="bold">LaBerge</emphasis>
                    </para>
                    <para>Why don't we start with where you were born, and a little bit about your
                        family background?</para>
                    <para>
                        <emphasis role="bold">Bouché</emphasis>
                    </para>
                    <para>Yes. How much detail do you want? Full detail or just very sketchy?</para>
                </informalexample>
                <para>Projects that require a different kind of styling for the display of speaker
                    names should use the <emphasis role="bold">rend</emphasis> attribute to override
                    the default styling imposed by &lt;speaker&gt;. </para>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/DR.html#DRSP">[P4: 10.2.2]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="verse">
            <title>Verse</title>
            <sect2 id="verseDiv">
                <title>&lt;div<emphasis>n</emphasis>&gt; in Verse</title>
                <para>Generally, verse or verse fragments in a text should be enclosed within a
                    separate &lt;div<emphasis>n</emphasis>&gt; element with an identifying
                        <emphasis role="bold">type</emphasis> attribute. Projects must enclose a
                    poem in a &lt;div<emphasis>n</emphasis>&gt; if they wish to attach a
                    searchable, indexable title to the poem using &lt;head&gt; or if they
                    wish to encode a &lt;closer&gt; at the end of the poem. The most common
                        <emphasis role="bold">type</emphasis> attribute values for verse are:</para>
                <simplelist>
                    <member>verse</member>
                    <member>poem</member>
                    <member>sonnet</member>
                    <member>drama</member>
                    <member>free-verse</member>
                    <member>song</member>
                </simplelist>
                <para>If projects do not wish to enclose a poem within a separate
                    &lt;div<emphasis>n</emphasis>&gt;, they may simply enclose its lines
                    using the mandatory &lt;lg&gt; element. (See below.)</para>
            </sect2>
            <sect2 id="verseTitle">
                <title>&lt;head&gt; in Verse</title>
                <para>Projects may use the &lt;head&gt; element for all titles, subtitles,
                    etc., for verse encoded within a &lt;div<emphasis>n</emphasis>&gt;,
                    bearing in mind the rules for using &lt;head&gt; within
                    &lt;div<emphasis>n</emphasis>&gt;. When more than one
                    &lt;head&gt; is required, use the <emphasis role="bold">type</emphasis>
                    attribute to describe the different type of headings or titles being applied.
                    Any &lt;head&gt; element for verse that does not have a <emphasis role="bold">type</emphasis> attribute will be considered a "main" title.</para>
                <informalexample>
                    <programlisting format="linespecific">      
<![CDATA[<head type="main">
<head type="subtitle">
<head type="dedication">]]>
        </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="l">
                <title>&lt;l&gt;</title>
                <para>Individual lines of verse must be surrounded by the &lt;l&gt; tag.
                    Lines that are numbered may use the <emphasis role="bold">n</emphasis> attribute
                    to encode the line number. Use the <emphasis role="bold">rend</emphasis>
                    attribute as necessary to provide proper indention.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<l n="5" rend="indent">]]>
      </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="lg">
                <title>&lt;lg&gt;</title>
                <para>Regardless of whether verse is contained within its own
                    &lt;div<emphasis>n</emphasis>&gt;, groups of lines must be encoded
                    within the &lt;lg&gt; element, with each individual line also encoded in
                    the &lt;l&gt; element. The &lt;lg&gt; tag is used to identify
                    groups of lines that carry coherent poetic structure (i.e., function as a formal
                    unit, such as a stanza) within a poem. The type of structure may be identified
                    with the <emphasis role="bold">type</emphasis> attribute. Some available
                        <emphasis role="">type</emphasis> values are:</para>
                <simplelist>
                    <member>stanza</member>
                    <member>verse</member>
                    <member>paragraph</member>
                    <member>couplet</member>
                    <member>quatrain</member>
                    <member>fragment</member>
                    <member>refrain</member>
                </simplelist>
                <para>The value "fragment" should be used for line groups that do not carry poetic structure.</para>
                <informalexample>
                    <programlisting format="linespecific">      
<![CDATA[<div1 type="poem">
                  <lg type="stanza">
      <l>How doth the little crocodile</l> 
<l>Improve his shining tail,</l> 
<l>And pour the waters of the Nile</l> 
<l>On every golden scale!</l>
       </lg>
   </div1>]]>
          </programlisting>
                </informalexample>
                <para>The following text could be tagged in different ways:</para>
                <para>
                    <literallayout format="linespecific"><![CDATA[`Repeat, "You are Old, Father William,"' said the Caterpillar. 
                 Alice folded her hands, and began:--
                 `You are old, Father William,' the young man said,            
                          `And your hair has become very white; 
                  And yet you incessantly stand on your head- 
                            Do you think, at your age, it is right?' 
                            ]]></literallayout>
                </para>
                <informalexample>
                    <para>within &lt;div<emphasis>n</emphasis>&gt;:</para>
                    <programlisting format="linespecific">
            <![CDATA[<div1 type="chap5">
. . .
<p>`Repeat, "You are Old, Father William,"' said the Caterpillar.</p> 
<p>Alice folded her hands, and began:--</p>
<div2 type="poem>
<head type="poem-title" rend="center">[You Are Old, Father William]</head>
<lg type="stanza" rend="blockindent"> 
<l>`You are old, Father William,' the young man said,</l>
<l rend="indent">`And your hair has become very white;</l>
<l>And yet you incessantly stand on your head-</l>
<l rend=indent">Do you think, at your age, it is right?'</l>
</lg>
</div2>]]>
          </programlisting>
                    <para> or without &lt;div<emphasis>n</emphasis>&gt;:</para>
                    <programlisting format="linespecific">
<![CDATA[. . .
<div1 type="chap5">
<p>`Repeat, "You are Old, Father William,"' said the Caterpillar.</p> 
<p>Alice folded her hands, and began:--</p>
<lg type="stanza" rend="blockindent"> 
<l>`You are old, Father William,' the young man said,</l>
<l rend="indent">`And your hair has become very white;</l>
<l>And yet you incessantly stand on your head-</l>
<l rend=indent">Do you think, at your age, it is right?'</l>
</lg>
            ]]>
          </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="closer">
                <title>&lt;closer&gt;</title>
                <para>Occasionally a poem will be directly followed by a date or some other closing
                    information that is not considered part of the poem. This information may be
                    encoded using the &lt;closer&gt; element within the poem's
                    &lt;div<emphasis>n</emphasis>&gt; outside of the last
                    &lt;lg&gt;. Poems must be enclosed within a
                    &lt;div<emphasis>n</emphasis>&gt; in order to use &lt;closer&gt;.</para>
                <informalexample>
                    <programlisting>
                <![CDATA[
<div1 type="poem">
                    . . .
<lg type="stanza">
<l>Nor certitude, nor peace, nor help for pain;</l>
<l>And we are here as on a darkling plain</l>
<l>Swept with confused alarms of struggle and flight,</l>
<l>Where ignorant armies clash by night.</l>
</lg>
<closer>[1867]</closer> 
</div1>                    
                    ]]>
                </programlisting>
                </informalexample>
                <para>
                    <ulink url="http://www.tei-c.org/P4X/CO.html#CODV">[P4: 6.11]</ulink>
                </para>
            </sect2>
        </sect1>
        <sect1 id="note">
            <title>Notes</title>
            <sect2 id="notes">
                <title>&lt;note&gt;</title>
                <para>Use the &lt;note&gt; element to encode notes, using the <emphasis role="bold">place</emphasis> attribute to indicate the location of the note.
                    According to TEI P4, a "note is any additional comment found in a text, marked
                    in some way as being out of the main textual stream." There are three kinds of
                    notes in manuscript: authorial notes, commentary from another person writing on
                    the original document, and editorial notes from the transcriber/encoder
                    producing the electronic text. For convenience, we will call only the last kind
                    "editorial." This section deals exclusively with authorial notes and other
                    commentary that is <emphasis>not</emphasis> editorial. (Editorial notes are
                    discussed in the section on editiorial intervention.) Authorial notes and
                    non-authorial commentary are generally distinguished as notes typographically on
                    the page, either through different hand/ink or by placement in the margins or by
                    being written in a different orientation. Text that is not distinguished
                    typographically need not necessarily be treated as notes.</para>
                <sect3 id="noteplace">
                    <title>Note Place</title>
                    <para> Notes should be tagged in-line or in proximity to the text to which it is
                        relevant. A marginal note referring to something in the manuscript, should
                        be tagged directly adjacent to the text that it refers to, either preceding
                        or following it depending on the order in which the text and note are meant
                        to be read. The <emphasis role="bold">place</emphasis> attribute should be
                        used to describe the physical location of the note on the page. The value
                        given in the <emphasis role="bold">place</emphasis> attribute will also be
                        used to dictate the display of notes where possible. Any note without a
                        place value will by default be treated as in-line and displayed embedded
                        where it has been tagged in the text. Sample values for the <emphasis role="bold">place</emphasis> attribute are:</para>
                    <informaltable>
                        <tgroup cols="2">
                            <thead>
                                <row>
                                    <entry>value</entry>
                                    <entry>note place</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>
                                        <emphasis role="bold">foot</emphasis>
                                    </entry>
                                    <entry>note appears at foot of page.</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">end</emphasis>
                                    </entry>
                                    <entry>note appears at end of chapter or volume.</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">inline </emphasis>
                                    </entry>
                                    <entry>note appears as a marked section in the body of the text. </entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">left</emphasis>
                                    </entry>
                                    <entry>note appears in left margin.</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">right </emphasis>
                                    </entry>
                                    <entry>note appears in right margin.</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">top</emphasis>
                                    </entry>
                                    <entry>note appears in top margin </entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">interlinear</emphasis>
                                    </entry>
                                    <entry>note appears between lines of the text.</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">verso</emphasis>
                                    </entry>
                                    <entry>note appears on back side of page on which related text appears</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">recto</emphasis>
                                    </entry>
                                    <entry>note appears on front side of page on which related text appears</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                    <para>Notes without the <emphasis role="bold">place</emphasis> attribute will be
                        considered in-line. For notes that are tagged at the point of reference, the
                        numbers attached to the notes (as distinct from reference numbers that are
                        located elsewhere) are normally recorded as the value of the <emphasis role="bold">n</emphasis> attribute and should not be included in the text of
                        the note itself. Similarly, dingbats, crosses, daggers, and the like used to
                        label notes for referencing may also be recorded as Unicode characters
                        within the <emphasis role="bold">n</emphasis> attribute. A separate
                        &lt;ref&gt; is not necessary. If a note is targeted by a
                        &lt;ref&gt; elsewhere, it must contain a unique<emphasis role="bold"> id</emphasis> attribute. Be sure to enclose the content of
                        notes in &lt;p&gt;s or other appropriate block elements if
                        necessary. (See the section on internal linking for more information about &lt;ref&gt;s.)</para>
                </sect3>
                <sect3 id="noteattr">
                    <title>Note Attribution</title>
                    <para>The <emphasis role="bold">resp</emphasis> attribute is mandatory for all
                        notes to indicate who is responsible for the annotation: author, editor,
                        translator, etc. Available values for the <emphasis role="bold">resp</emphasis> attribute are: </para>
                    <informaltable>
                        <tgroup cols="2">
                            <thead>
                                <row>
                                    <entry>value</entry>
                                    <entry>note attribution</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>
                                        <emphasis role="bold">auth</emphasis>
                                    </entry>
                                    <entry>note originated with the author of the text</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">rev</emphasis>
                                    </entry>
                                    <entry>note added by a reviser of the text who has written on
                                        the document </entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">ed</emphasis>
                                    </entry>
                                    <entry>note added by the editor of the text</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">comp</emphasis>
                                    </entry>
                                    <entry>note added by the compiler of a collection</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">tr </emphasis>
                                    </entry>
                                    <entry>note added by the translator of a text</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">transcr </emphasis>
                                    </entry>
                                    <entry>note added by the transcriber of a text into electronic
                                        form. (See 2.15.1.) </entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">amanuensis</emphasis>
                                    </entry>
                                    <entry>note added by the amanuensis</entry>
                                </row>
                                <row>
                                    <entry>
                                        <emphasis role="bold">(other id)</emphasis>
                                    </entry>
                                    <entry>note added by the individual indicated by the initials or
                                        other unique id; id must be defined as the id of a
                                        &lt;hand&gt; in the TEI header</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                </sect3>
                <sect3 id="noteref">
                    <title>Note References</title>
                    <para>Notes that depend on a reference system can be automatically linked to
                        references using the <emphasis role="bold">n</emphasis> attribute in
                        &lt;note&gt;. Numbers, asterisks, dingbats, crosses, daggers, and
                        the like, are recorded as the value of the <emphasis role="bold">n</emphasis> attribute and need not be included in the text as a
                        &lt;ref&gt;. UNICODE characters may also be recorded in <emphasis role="bold">n</emphasis> attribute when they serve as references. A
                        &lt;note&gt; does not require a unique <emphasis role="bold">id</emphasis> attribute unless it is targeted by a
                        &lt;ref&gt;. </para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[
<p>...when I returned to the garden, she had already gone.</p>
<note resp="auth" place="left" n="*">I remember now that she must have headed for the shed.</note>
<p>Not knowing what to do, I ...</p>]]></programlisting>
                    </informalexample>
                </sect3>
            </sect2>
            <sect2 id="inline">
                <title>In-line notes</title>
                <para>In-line notes may be tagged directly in place.</para>
                <informalexample>
                    <programlisting format="linespecific">
                <![CDATA[<p>Collections are ensembles of distinct entities or objects of any sort. 
<note place="inline">We explain below why we use the uncommon term collection instead 
of the expected set. our usage corresponds to the aggregate of many mathematical writings
and to the sense of class found in older logical writings.</note> The elements. . .</p>]]></programlisting>
                </informalexample>
            </sect2>
            <sect2 id="fnote">
                <title>Footnotes and Marginal Notes</title>
                <para>Footnotes (those references, notes, and citations appearing at the bottom of
                    the page) and marginal notes must be encoded where they are referenced. In other
                    words, at the location of the note reference in the text, embed the
                    &lt;note&gt; itself in place. If a footnote or marginal note is tagged
                    in place <emphasis>and</emphasis> the <emphasis role="bold">n</emphasis>
                    attribute contains the note's reference number, projects must not encode a
                    separate &lt;ref&gt; with that same number at the same location. The
                    result would be two duplicate numbers appearing in place at the point of
                    reference. However, if no <emphasis role="bold">n</emphasis> attribute is given
                    in &lt;note&gt;, then a separate &lt;ref&gt; may be used in
                    place. In either case, other references to that note from other locations in the
                    text may be tagged with &lt;ref&gt;. If a note is targeted by any
                    &lt;ref&gt; anywhere in the text, it must include an <emphasis role="bold">id</emphasis> attribute. </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<p>There is no evidence whatsoever that anyone could possibly have know about it.
<note id="note1" place="left" n="*" hand="AB">
<p>There is in fact ample evidence now in the pubic record.</p></note>...</p>]]>
            </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="enote">
                <title>Endnotes</title>
                <para>Endnotes (those appearing at the end of a chapter, section, or other
                    significant textual division) must be encoded where they appear in the document,
                    in a separate &lt;div<emphasis>n</emphasis>&gt; if necessary. For an
                    endnote to function properly, the reference to the note in the text must be
                    tagged with &lt;ref&gt; and each endnote &lt;note&gt; must carry
                    an <emphasis role="bold">id</emphasis> attribute. Further, if projects wish to
                    allow users to link directly from the note back to its reference in the text,
                    then the <emphasis role="bold">id</emphasis> and <emphasis role="bold">corresp</emphasis> attributes must also be properly used in
                    &lt;ref&gt; and &lt;note&gt; respectively. (See the section on
                    internal linking for more detailed instructions.) </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<p>...falsely assumed South Africa to be the only developed 
capitalist country “[that] is not only ‘objectively’ ripe for 
revolution but has actually entered a stage of overt and 
seemingly irreversible revolutionary struggle.”
<ref target="bn0.1" id="d0e912" type="noteref">1</ref> ...</p>

....

<div2 id="d0e1020" type="endnotes">
   <head type="main">Notes</head>
   <note id="bn0.1" place="end" n="1" corresp="d0e912">
      <p>Paul M. Sweezy and Harry Magdoff, “The Stakes in 
         South Africa,” <hi rend="italic">Monthly Review,
         </hi> April 1986.</p>
   </note>
</div2>]]>
            </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#CONONO">[P4: 6.8.1]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="editorial">
            <title>Editorial Intervention</title>
            <sect2>
                <title>Editorial Notes</title>
                <para>Editorial notes are defined here as those that are provided by the
                    transcriber/encoder of the document and that do not appear in the source
                    document itself. Editorial notes should be tagged in-line as
                    &lt;note&gt;s, adjacent to the text to which they are relevant. They
                    should be reserved for instances in which no other method of tagging is adequate
                    to describe or tag the textual situation. While they can be used to qualify or
                    describe text that is in the original, they should not be used to supply
                    conjectural text or corrections or variant readings. TEI P4 supplies other
                    mechanisms for those type of editorial interventions. Please consult TEI P4 for
                    further discussion.</para>
                <para>All editorial notes must have a <emphasis role="bold">resp</emphasis>
                    attribute identifying the agent responsible for the note, in part to distinguish
                    them from authorial notes. Available resp values are the same as those for
                    authorial notes, as long as it is absolutely clear whether the note is editorial
                    or authorial. If for instance, there are two compilers--one who has written on
                    the document itself and the other who has grouped the documents only for
                    electronic publication and has offered some necessary commentary--projects will
                    wish to come up with different resp values for each person:</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<note resp="ms-comp"> or <note resp="ed-comp">]]>
</programlisting>
                </informalexample>
                <para>In display, editorial notes will be distinguished from the rest of the text
                    through brackets or some other exclusive editorial sign. The brackets are or
                    typographical signs are automatically created by a stylesheet when it recognizes
                    a <emphasis role="bold">resp</emphasis> value as being editorial. There is
                    therefore no need to put brackets around the content of the &lt;note&gt;
                    during tagging.</para>
                <para>[P4: 6.8.1]</para>
            </sect2>
            <sect2 id="sic-cor">
                <title>&lt;sic&gt;, &lt;orig&gt;</title>
                <para>In their transcriptions, some projects may wish to correct apparent errors in
                    the text or to regularize non-standard spelling or punctuation. Any policy
                    calling for such changes to the source text must be explicitly spelled out in
                    the &lt;editorialDecl&gt;. If such a policy is consistently applied and
                    transparent, then it may not be necessary to mark each and every location in the
                    text where changes have been made. If all ampersands, for instance, are to be
                    changed to "and", then that global change can be declared in
                    &lt;editorialDecl&gt; and the changes themselves made silently. </para>
                <para> However, if projects feel that it is necessary to correct or standardize text
                    in individual instances and they would also like to preserve the text of the
                    original, they may use the &lt;sic&gt; and &lt;orig&gt;
                    elements. </para>
                <para>Use the &lt;sic&gt; element in conjunction with its <emphasis role="bold">corr</emphasis> attribute to provide the text as it appears in the
                    manuscript and the correction that needs to be provided. </para>
                <informalexample>
                    <programlisting format="linespecific">
                <![CDATA[<sic corr="tomorrow">tomorow</sic>]]>
                </programlisting>
                </informalexample>
                <para>The &lt;sic&gt; element may also be used without a <emphasis role="bold">corr</emphasis> attribute simply to call attention to apparent
                    errors in the text.</para>
                <para> The &lt;orig&gt; element works in a similar manner. Use
                    &lt;orig&gt; to standardize non-standard spelling, punctuation, or
                    syntax. Surround the original text with &lt;orig&gt; and use its
                        <emphasis role="bold">reg</emphasis> attribute to contain the regularized
                    version of the text.</para>
                <informalexample>
                    <programlisting format="linespecific">
                <![CDATA[<orig reg="don't">dont</orig>]]>
                </programlisting>
                </informalexample>
                <para>[P4: 6.5.1]</para>
            </sect2>
        </sect1>
        <sect1 id="damage">
            <title>Gaps, Illegible Text, Damage</title>
            <sect2>
                <title>&lt;gap&gt;, &lt;unclear&gt;</title>
                <para>TEI P4 provides much discussion of how to transcribe problematic textual
                    situations such as gaps and damaged manuscript. All projects transcribing
                    manuscripts are encouraged to consult Chapter 18 of TEI P4 for a more thorough
                    discussion of these features. The section 18.2.4 in particular contains a useful
                    explanation of when and how to use the various elements and attributes available
                    to record such phenomena.</para>
                <para>Not all projects will need all the elements provided. Basic transcription
                    projects should simply use the following elements for text that cannot be read
                    because of damage or other obscuration:</para>
                <para>Use the empty &lt;gap&gt; element at the point where the text is
                    missing or completely illegible and no text is supplied to replace it. </para>
                <para>Use the &lt;unclear&gt; element to enclose text that can be read but,
                    because of damage or other reason, the reading is uncertain. </para>
                <para>For both elements, the <emphasis role="bold">reason</emphasis> attribute may
                    be used to state the cause (damage, deletion, etc.) of the loss of text. The
                        <emphasis role="bold">extent</emphasis> attribute can also be used to
                    indicate the extent of missing text. </para>
                <para> Projects wishing to provide additional physical description of a document,
                    may also use the &lt;damage&gt; element to enclose text that is fully
                    legible but otherwise damaged in some way. Passages that are marked with
                    &lt;damage&gt; can also contain &lt;gap&gt;s and
                    &lt;unclear&gt; portions.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<p>The reason for his departure was <gap reason="torn"/> was not prone <damage reason="water">to cowardice nor <unclear reason="water">lacked</unclear></damage> nobility.</p>]]>
</programlisting>
                </informalexample>
                <para>[P4: 6.5.3]</para>
            </sect2>
        </sect1>
        <sect1 id="revisions">
            <title>Revisions in Manuscripts</title>
            <sect2>
                <title>&lt;add&gt;, &lt;del&gt;</title>
                <para>Use &lt;add&gt; to encode additions/insertions in the text. An
                    insertions is defined as text that has been placed between two previously
                    inscribed words or characters, or between such a word or character and a
                    previously fixed point (such as the top of the page), thus written later than
                    the text on either side of it. </para>
                <para>Use &lt;del&gt; similarly to contain deleted content. If text has been
                    added and then portions of it later deleted, the &lt;del&gt; portion
                    should be tagged as such within the text contained by &lt;add&gt;.</para>
                <para>Note that content marked up using &lt;add&gt; and &lt;del&gt;
                    without additional linking attributes will be associated by proximity but will
                    not be explicitly linked. Normally, tag the deletions and additions in the order
                    that they appear. Projects interested in documenting explicit substitution
                    (e.g., the content of &lt;add&gt; is a substitute for the content of
                    &lt;del&gt;) should consult the full TEI guidelines. </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<p>Paul handed the <del>cash</del><add>money</add> over to the <del>old</del> teller.</p> ]]></programlisting>
                </informalexample>
                <para>[P4: 6.5.3]</para>
            </sect2>
            <sect2>
                <title>Revisions in Another Hand</title>
                <para>When &lt;add&gt;s or &lt;del&gt;s have been made in a hand
                    other than the main hand of the document, use the <emphasis role="bold">hand</emphasis> attribute to identify the writer. The value of the
                        <emphasis role="bold">hand</emphasis> attribute must be identified as a
                    &lt;hand&gt; in &lt;handList&gt; in the TEI header. </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<p>The witness for the prosecution refused <add hand="AC">repeatedly</add> to answer the question.</p>]]>
</programlisting>
                </informalexample>
            </sect2>
        </sect1>
        <sect1 id="namesdates">
            <title>Names, Dates, and Addresses</title>
            <para>Although it is not required, it sometimes useful to tag names, dates, and
                addresses as they occur throughout the text, not only when they occur on the title
                page. Tagging names and dates also allows them to be regularized in order to provide
                more fruitful searching.</para>
            <sect2 id="basicname">
                <title>&lt;name&gt;</title>
                <para>The &lt;name&gt; element may be used to encode any proper noun or
                    proper noun phrase. The <emphasis role="bold">type</emphasis> attribute can be
                    used to indicate the type of name. Supported <emphasis role="bold">type</emphasis> values are "person" and "place". The <emphasis role="bold">reg</emphasis> attribute may be used to give a normalized or
                    regularized form of the name.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[At the time of the events which led to
<name reg="Benedict XII, Pope of Avignon (Jacques Fournier)" 
type="person">Fournier's</name> investigations, 
the local population consisted of between 200 and
250 inhabitants.]]>
        </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="basicdate">
                <title>&lt;date&gt;</title>
                <para>Use &lt;date&gt; to encode a date that has been given in any format.
                    The <emphasis role="bold">value</emphasis> attribute can be used to contain the
                    value of the date in the standard ISO 8601:2000 5.2.1 format (e.g., YYYY-MM-DD).
                    Again, this is useful if document dates need to be indexed for searching.</para>
                <para>Because the &lt;date&gt; element is not directly allowed within
                    &lt;div<emphasis>n</emphasis>&gt; it can be surrounded by
                    &lt;dateline&gt; if necessary. When it appears at the beginning or end
                    of a division, &lt;date&gt; is normally located within the
                    &lt;opener&gt; or &lt;closer&gt; elements. Projects not wishing
                    to use &lt;opener&gt; and &lt;closer&gt; may also insert
                    &lt;date&gt; directly within &lt;p&gt; if that is appropriate.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<p>Given on the <date value="1977-06-12">Twelfth Day of June
in the Year of Our Lord One Thousand Nine Hundred and
Seventy-seven of the Republic the Two Hundredth and first
and of the University the Eighty-Sixth.</date></p>]]>
        </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="address">
                <title>&lt;address&gt;, &lt;addrLine&gt;</title>
                <para>The &lt;address&gt; and &lt;addrLine&gt; elements can be used
                    to encode postal or other addresses. Enclose the entire address within
                    &lt;address&gt; and each individual line within &lt;addrLine&gt;.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<address>
   <addrLine>110 Southmoor Road,</addrLine>
   <addrLine>Oxford OX2 6RB,</addrLine>
   <addrLine>UK</addrLine>
</address>]]>
        </programlisting>
                </informalexample>
                <para>Because &lt;address&gt; is not allowed directly in
                    &lt;div<emphasis>n</emphasis>&gt;, when it appears at the beginning or
                    end of a division, it normally is enclosed within the &lt;opener&gt; or
                    &lt;closer&gt; elements. Projects not wishing to use
                    &lt;opener&gt; or &lt;closer&gt; may insert
                    &lt;address&gt; directly inside a &lt;p&gt; if that is appropriate.</para>
                <informalexample>
                    <programlisting role="linespecific">
<![CDATA[<div1 type="letter">
  <head>Appendix: Letter to Earl Warren</head>
  <opener>
    <date>November 10, 1971</date>
    <address>
      <addrLine>Honorable Earl Warren</addrLine>
      <addrLine>Supreme Court of the United States</addrLine>
      <addrLine>Washington, D. C.</addrLine>
      <addrLine>Re: ACLU Proposed Earl Warren Civil Liberties Award</addrLine>
    </address>
    <salute>Dear Governor:</salute>
  </opener>]]>
        </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#CONA">[P4: 6.4]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="list">
            <title>Lists</title>
            <sect2>
                <title>&lt;list&gt;</title>
                <para>Individual items in a list must be encoded as &lt;item&gt;s within
                    &lt;list&gt; rather than as a series of &lt;p&gt;s or
                    &lt;l&gt;s. Use the &lt;list&gt; element's <emphasis role="bold"> type</emphasis> attribute to define the type of list appearing
                    in the document. Valid <emphasis role="bold"> type</emphasis> attributes are:</para>
                <informaltable>
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>type of list</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">ordered</emphasis>
                                </entry>
                                <entry>lists with sequential markers</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">bulleted</emphasis>
                                </entry>
                                <entry>marked or bulleted lists</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">simple</emphasis>
                                </entry>
                                <entry>unmarked or unnumbered lists</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">gloss</emphasis>
                                </entry>
                                <entry>definition lists (e.g., glossary, chronology, etc.)
                                    consisting of a term encoded in &lt;label&gt; and a
                                    definition or expansion of the term encoded in &lt;item&gt;</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">ordered</emphasis>
                                </entry>
                                <entry>numbered lists</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">label</emphasis>
                                </entry>
                                <entry>non-gloss lists whose items are each labeled with a &lt;label&gt;</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para>Nest lists as appropriate, noting that they will be automatically indented to
                    reflect the nesting. Use the &lt;head&gt; element to provide headings
                    for lists.</para>
            </sect2>
            <sect2 id="olist">
                <title>Standard Ordered Lists</title>
                <para>Encode lists that include sequential markers, numbers, or letters as
                    &lt;list type="ordered"&gt;. Use the <emphasis role="bold">rend</emphasis> attribute to describe the kind of sequential system
                    used. Each item in the list is encoded as an &lt;item&gt;,
                    <emphasis>without</emphasis> the sequential marker. The <emphasis role="bold">rend</emphasis> attribute will tell the stylesheet what kind of
                    enumerative system to supply for display. If no system is specified in the
                        <emphasis role="bold">rend</emphasis> attribute, then the default system of
                    "arabic"--meaning arabic integers starting with "1."-- will be applied. The
                    available <emphasis role="bold">rend</emphasis> values are as follows.</para>
                <informaltable>
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>enumerators</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">arabic</emphasis>
                                </entry>
                                <entry>1., 2., 3., etc.</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">upperalpha</emphasis>
                                </entry>
                                <entry>A., B., C., etc..</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">loweralpha</emphasis>
                                </entry>
                                <entry>a., b., c., etc.</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">upperroman</emphasis>
                                </entry>
                                <entry>I., II., III., etc.</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">lowerroman</emphasis>
                                </entry>
                                <entry>i., ii., iii., etc..</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">supplied</emphasis>
                                </entry>
                                <entry>non-standard enumerations encoded within each
                                    &lt;item&gt;'s <emphasis role="bold">n</emphasis>
                                    attribute (see below)</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <informalexample>
                    <orderedlist numeration="upperalpha">
                        <title>Departments</title>
                        <listitem>
                            <para>English</para>
                        </listitem>
                        <listitem>
                            <para>History</para>
                        </listitem>
                        <listitem>
                            <para>Biology</para>
                        </listitem>
                        <listitem>
                            <para>Political Science</para>
                        </listitem>
                    </orderedlist>
                    <programlisting format="linespecific">
<![CDATA[<list type="ordered" rend="upperalpha">
   <head>Departments</head>
   <item>English</item>
   <item>History</item>
   <item>Biology</item>
   <item>Political Science</item>
</list>]]>
              </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="non-olist">
                <title>Non-standard Ordered Lists</title>
                <para>Lists that use a use a non-sequential or otherwise non-standard method of
                    enumeration may still carry the <emphasis role="bold">type</emphasis> attribute
                    value of "ordered" if the specific mark of numeration may be explicitly supplied
                    in the <emphasis role="bold">n</emphasis> attribute of each individual
                    &lt;item&gt; element. Whatever is encoded as the value of the <emphasis role="bold">n</emphasis> attribute will be exactly displayed as the enumerator
                    for the item. Therefore, don't forget to include punctuation if it is desired.
                    In such cases, set the &lt;list&gt;'s <emphasis role="bold">rend</emphasis> attribute to "supplied."</para>
                <informalexample>
                    <orderedlist>
                        <listitem>
                            <para>Food and supplies</para>
                        </listitem>
                        <listitem>
                            <para>Medicine</para>
                        </listitem>
                        <listitem>
                            <para>Fuel</para>
                        </listitem>
                        <listitem override="5">
                            <para>Fuel storage containers</para>
                        </listitem>
                        <listitem override="6">
                            <para>Radios</para>
                        </listitem>
                    </orderedlist>
                    <programlisting format="linespecific">
<![CDATA[<list type="ordered" rend="supplied">
   <item n="1.">Food and supplies</item>
   <item n="2.">Medicine</item>
   <item n="3.">Fuel</item>
   <item n="5.">Fuel storage containers</item>
   <item n="6.">Radios</item>
</list>]]>
              </programlisting>
                </informalexample>
                <para>Note that all &lt;item&gt;s in a &lt;list rend="supplied"
                    type="ordered"&gt; must contain an <emphasis role="bold">n</emphasis>
                    attribute, even if some of the items conform to the standard enumerative
                    conventions. Again, never encode the sequential marker within the text of the
                    &lt;item&gt; as well. Such encoding will usually result in two duplicate
                    markers appearing before each &lt;item&gt; in the list. <emphasis role="bold">n</emphasis> attribute.</para>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#COLI">[P4: 6.7]</ulink>
                    </emphasis>
                </para>
            </sect2>
            <sect2 id="label">
                <title>&lt;label&gt;</title>
                <para>Rather than enumerators, items in a &lt;list type="gloss"&gt; have
                    labels, such as headwords in a glossary or dates in a chronology. The
                    &lt;label&gt; element is used to capture each label immediately
                    preceding its associated &lt;item&gt;. </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[
<list type="gloss" rend="label">
<label>1835</label><item>born in Florida, MO</item> 
<label>1848</label><item>apprenticed</item>]]>
</programlisting>
                </informalexample>
                <para>Occasionally, a &lt;list type="ordered"&gt; in manuscripts will have
                    enumerators that have been revised. In order to record those revisions, it is
                    necessary to encode the sequential marker as the content of an element rather
                    than as an attribute value. The revised enumerator is then encoded in
                    &lt;label&gt;, directly preceding each &lt;item&gt;. To prevent
                    duplication of the marker, encode the list with a <emphasis role="bold">rend</emphasis> attribute value of "label". </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<list type="ordered" rend="label">
	<label>1.</label><item>Apples</item>
	<label><del>1.</del>2.</label><item>Oranges</item> 
	<label><del>2.</del>3.</label><item>Grapes</item>
</list>]]>
</programlisting>
                </informalexample>
            </sect2>
        </sect1>
        <sect1 id="bib">
            <title>Bibliographies</title>
            <sect2 id="bibl">
                <title>&lt;bibl&gt;</title>
                <para>Individual bibliographic citations should be encoded using the
                    &lt;bibl&gt; element. Groups of &lt;bibl&gt;s are further
                    contained within a &lt;listBibl&gt;.</para>
                <para>The &lt;bibl&gt; element allows unstructured bibliographic data,
                    including standard bibliographic elements as well as uncontained text such as
                    more discursive or descriptive citations or annotations. Unlike the stricter
                    bibliographic containers found in the TEI, &lt;bibl&gt; allows the
                    encoder some latitude both in the order of subelements and the level of encoding.</para>
                <para>There are no elements absolutely required within &lt;bibl&gt;.
                    However, most projects will most likely take advantage of the following:
                    &lt;author&gt;, &lt;date&gt;, &lt;title&gt;,
                    &lt;pubPlace&gt;, &lt;publisher&gt;, and
                    &lt;biblScope&gt;. </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<listBibl>
   <bibl id="bib010_ch02">
      <author>Johnson, Douglas W.</author> 
      <date>1919</date>. 
      <title level="m">Shore processes</title>. 
      <pubPlace>New York</pubPlace>, 
      <publisher>Wiley &amp; Sons</publisher>, 
      <biblScope type="pages">584 pp.</biblScope>, 
      <date>1919</date>.
   </bibl>]]>
          </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="title">
                <title>&lt;title&gt; levels</title>
                <para>Projects using the &lt;title&gt; element may also use its <emphasis role="bold">level</emphasis> attribute to define the type of title being
                    provided and dictate the typographic styling used to display the title.
                    Therefore, &lt;title&gt;s that carry a <emphasis role="bold">level</emphasis> attribute do not need to be tagged again for
                    italics, quotation marks, and the like. Titles that require special formatting
                    not supported by the available <emphasis role="bold">level</emphasis>s can use
                    the <emphasis role="bold">rend</emphasis> attribute to dictate the styling
                    required. The supported attribute values and their resulting display are as follows.</para>
                <informaltable frame="top">
                    <tgroup cols="3">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>type of title</entry>
                                <entry>type of styling</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">a</emphasis>
                                </entry>
                                <entry>analytic title (article, poem, or other item published as
                                    part of a larger item)</entry>
                                <entry>surrounded in quotation marks</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">m</emphasis>
                                </entry>
                                <entry>monographic title (book, collection, or other item published
                                    as a distinct item, including single volumes of multi-volume works)</entry>
                                <entry>italics</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">j</emphasis>
                                </entry>
                                <entry>journal title</entry>
                                <entry>italics</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">s</emphasis>
                                </entry>
                                <entry>series title</entry>
                                <entry>italics</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">u</emphasis>
                                </entry>
                                <entry>title of unpublished material (including theses and
                                    dissertations unless published by a commercial press)</entry>
                                <entry>surrounded in quotation marks</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
            </sect2>
            <sect2 id="anno-bib">
                <title>&lt;note&gt; in Bibliographic Citations</title>
                <para> The CDL TEI DTDs all allow the &lt;note&gt; element within
                    &lt;bibl&gt;. Use it to record notes, including in-line bibliographic
                    annotation and footnotes, that occur within bibliographic citations. </para>
                <informalexample>
                    <programlisting format="linespecific">
                    <![CDATA[                 
<bibl><title level="m">Alice's adventures in Wonderland</title> by 
<author>Lewis Carroll</author>. 
<pubPlace>London</pubPlace>: 
<publisher>Macmillan</publisher>, 
<date value="1869.00.00">1869</date>.  
<note>This work is remarkable example of the intersection of mathematics and literature.</note></bibl>
                    ]]></programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#COBITY">[P4: 6.10.1]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="ilink">
            <title>Internal Links and Cross References</title>
            <para>Internal references and links can take many forms: numbers in the text that point
                to notes, pointers to specific sections of the text (e.g., "see the next chapter"),
                or short form bibliographic references (e.g., "Clemens 1890"). The practice
                described in this section applies only to references pointing to elements within the
                same file. See the section on external references to point to locations outside the document.</para>
            <sect2>
                <title>&lt;ref&gt;</title>
                <para>Internal references will be encoded using the &lt;ref&gt; element and
                    are required to have both a <emphasis role="bold">target</emphasis> and
                        <emphasis role="bold">type</emphasis> attribute to indicate the <emphasis role="bold">id</emphasis> of the element being targeted and the nature of the
                    target. No specific system need be employed for creating <emphasis role="bold">id</emphasis>s in the elements being targeted as long as they are
                    unique and begin with a letter character (e.g., id="id001"). The following
                        <emphasis role="bold">type</emphasis> attribute values are supported:</para>
                <informaltable frame="top">
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>type of reference</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">citeref</emphasis>
                                </entry>
                                <entry>bibliographic citation reference</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">figref</emphasis>
                                </entry>
                                <entry>figure reference</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">fnoteref</emphasis>
                                </entry>
                                <entry>footnote reference</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">formularef</emphasis>
                                </entry>
                                <entry>formula reference</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">noteref</emphasis>
                                </entry>
                                <entry>endnote or general reference</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">pageref</emphasis>
                                </entry>
                                <entry>reference to a &lt;pb&gt; element, such as would be
                                    used in an index</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">secref</emphasis>
                                </entry>
                                <entry>section reference, usually used to refer to a chapter or subsection.</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">tableref</emphasis>
                                </entry>
                                <entry>table reference</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para>(Note that the use of a &lt;ref&gt; for notes tagged at the point of
                    reference is normally optional as the in-line presence of the
                    &lt;note&gt; will automatically create a reference. References to the
                    note from other locations are to be treated as &lt;ref&gt;s. See the
                    section on footnotes and marginal notes for more information.)</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<ref target="enote1" type="noteref">1</ref>

<note id="enote1" place="end" n="1">
. . .
</note>]]>
        </programlisting>
                </informalexample>
                <para>In order to create a bidirectional link (i.e., from the reference [i.e.,
                    &lt;ref&gt;] to the referenced object [e.g., &lt;note&gt;] and
                    then from the object back to the reference), projects must also include a unique
                        <emphasis role="bold">id</emphasis> attribute in the &lt;ref&gt;.
                    The value of the <emphasis role="bold">id</emphasis> in &lt;ref&gt; is
                    then recorded in the <emphasis role="bold">corresp</emphasis> attribute of the
                    element that is being referenced.</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<ref id="bkd0e131" target="d0e131" type="noteref">1</ref>

<note id="d0e131" corresp="bkd0e131" place="end" n="1">
. . .
</note>]]>
        </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/CO.html#COXR">[P4: 6.6]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="xlink">
            <title>External Objects</title>
            <sect2>
                <title>&lt;xref&gt;</title>
                <para>Use the &lt;xref&gt; element to refer to objects or locations outside
                    of the encoded document. There are six attributes available for
                    &lt;xref&gt;. Take care to note which of these are required.</para>
                <informaltable>
                    <tgroup cols="4">
                        <thead>
                            <row>
                                <entry>
                                    <emphasis role="bold">attribute</emphasis>
                                </entry>
                                <entry>
                                    <emphasis role="bold">use</emphasis>
                                </entry>
                                <entry>
                                    <emphasis role="bold">possible values</emphasis>
                                </entry>
                                <entry>
                                    <emphasis role="bold">required?</emphasis>
                                </entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">doc</emphasis>
                                </entry>
                                <entry>contains the object's entity name</entry>
                                <entry>[local entity name; must resolve to a valid declared entity]</entry>
                                <entry>required when <emphasis role="bold">href</emphasis> is not used</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">href</emphasis>
                                </entry>
                                <entry>contains the external URI, may be URL or ARK</entry>
                                <entry>[external URI (e.g., URL or ARK)]</entry>
                                <entry>required when <emphasis role="bold">doc</emphasis> is not used</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">type</emphasis>
                                </entry>
                                <entry>indicate the type of object being linked to</entry>
                                <entry>
                                    <simplelist>
                                        <member>obj</member>
                                        <member>mets</member>
                                        <member>url</member>
                                        <member>pdf</member>
                                        <member>sound</member>
                                        <member>video</member>
                                        <member>stream</member>
                                    </simplelist>
                                </entry>
                                <entry>required</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">rend</emphasis>
                                </entry>
                                <entry>defines the way the linking takes place</entry>
                                <entry>
                                    <simplelist>
                                        <member>new</member>
                                        <member>replace</member>
                                        <member>embed</member>
                                        <member>none</member>
                                    </simplelist>
                                </entry>
                                <entry>required</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">from</emphasis>
                                </entry>
                                <entry>contains the starting location of the portion of the digital
                                    object being linked to; also used to record single locations
                                    within objects</entry>
                                <entry>[usually a unique id on a structural element]</entry>
                                <entry>optional</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">to</emphasis>
                                </entry>
                                <entry>contains the ending location of the portion of the digital
                                    object being linked to</entry>
                                <entry>[usually a unique id on a structural element; not required
                                    when only a single location in the object is being linked to ]</entry>
                                <entry>optional</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para>Note that every &lt;xref&gt; must have either a <emphasis role="bold">doc</emphasis> attribute or an <emphasis role="bold">href</emphasis>
                    attribute or both.</para>
                <para>The following table describes the actions dictated by the <emphasis role="bold">rend</emphasis> attribute:</para>
                <informaltable>
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>resulting action</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">new</emphasis>
                                </entry>
                                <entry>a new window displaying the referenced external object appears</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">replace</emphasis>
                                </entry>
                                <entry>document view replaced by the referenced external object</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">embed</emphasis>
                                </entry>
                                <entry>the referenced external object is embedded in place</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">none</emphasis>
                                </entry>
                                <entry>no action</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <informalexample>
                    <para>URL:</para>
                    <programlisting format="linespecific">
<![CDATA[<xref href="http://www.cdlib.org" type="url" rend="new">]]>
          </programlisting>
                    <para>Result: new window displaying referenced URL.</para>
                    <para>CDL digital object:</para>
                    <programlisting format="linespecific">
<![CDATA[<xref href="ark:/13030/kt5n39n99v" type="obj" rend="replace" from="ch02">]]>
          </programlisting>
                    <para>Result: document view replaced with Chapter 2 of referenced object.</para>
                    <para>PDF document:</para>
                    <programlisting format="linespecific">
<![CDATA[<xref doc="kt167nb66r_ch19.pdf" type="pdf" rend="new">]]>
          </programlisting>
                </informalexample>
                <para>Result: new window displaying a PDF of Chapter 19.</para>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/SA.html#SAXR">[P4: 14.2]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
        <sect1 id="graphic">
            <title>Graphic Elements</title>
            <para>When encoding graphic elements such as illustrations, formulas, and tables, take
                special care to preserve both the information represented and, as far as possible,
                the form of presentation.</para>
            <sect2 id="table">
                <title>Tables</title>
                <para>The CDL TEI Manuscript guidelines employ the full <ulink url="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_tablemodule">XHTML
                        table module</ulink> instead of the TEI default table scheme to encode
                    tables. See the full <ulink url="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_tablemodule">XHTML
                        table module</ulink> guidelines for detailed instructions on how to encode
                    tables. Projects should try as much as possible to encode for correct display in
                    both Netscape and Internet Explorer browsers on the Windows and Mac platforms.
                    (Take care to encode definition lists as &lt;list type="gloss"&gt; when
                    encountered; these can sometimes be confused for two-column tables).</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<table id="tab001">
   <caption>PERCENTAGES OF THE EARTH'S SURFACE</caption>
   <colgroup span="3">
      <col align="right" span="1"/>
      <col align="char" char="." span="1"/>
      <col align="char" char="." span="1"/>
   </colgroup>
   <thead>
      <tr>
         <th>Latitude</th>
         <th>%</th>
         <th>Cumulative %</th>
      </tr>
   </thead>
   <tbody>
      <tr>
         <td>40 N 30 W</td>
         <td>8.68</td>
         <td>8.68</td>
      </tr>]]>
        </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/FT.html#FTTAB">[P4: 22.1]</ulink>
                    </emphasis>
                </para>
            </sect2>
            <sect2 id="figure">
                <title>&lt;figure&gt;</title>
                <para>Figures, charts, plates, formulas, or any other component of the text that
                    must be delivered as an image must be encoded using the &lt;figure&gt;
                    element. Any &lt;figure&gt; must contain a unique <emphasis role="bold">id</emphasis> attribute and an <emphasis role="bold">entity</emphasis> attribute that contains a valid entity name that
                    resolves to a real file. The entity named in the <emphasis role="bold">entity</emphasis> attribute must be declared at the beginning of the
                    document in order for the document to validate and function properly during
                    ingest and preview. See the sections on associated files and image files for
                    detailed instructions on how to create entities and produce image files. The
                        <emphasis role="bold">rend</emphasis> attribute is also required. The
                    following <emphasis role="bold">rend</emphasis> values are available:</para>
                <informaltable>
                    <tgroup cols="2">
                        <thead>
                            <row>
                                <entry>value</entry>
                                <entry>display</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>
                                    <emphasis role="bold">inline</emphasis>
                                </entry>
                                <entry>in-line as part of a text string</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">block</emphasis>
                                </entry>
                                <entry>as a block separate from the surrounding text</entry>
                            </row>
                            <row>
                                <entry>
                                    <emphasis role="bold">popup</emphasis>
                                </entry>
                                <entry>linked to a higher resolution version; for pop-up figures use
                                    the following syntax: rend="popup(ENTITY_NAME)", where the value
                                    in the parentheses is a valid entity name</entry>
                            </row>
                        </tbody>
                    </tgroup>
                </informaltable>
                <para> Figure captions may be encoded in the &lt;head&gt; element within
                    &lt;figure&gt; using the the <emphasis role="bold">type</emphasis>
                    attribute value "caption".</para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<!ENTITY fig001   SYSTEM "http://www.server.domain/figures/fig001.gif" NDATA GIF>
<!ENTITY fig001_h SYSTEM "http://www.server.domain/figures/fig001_h.gif" NDATA GIF>
]>

<figure id="fig001" entity="fig001" rend="popup(fig001_h)">
   <head type="caption">Bottom topography in the South Atlantic Ocean.</head>
</figure>]]>
        </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/FT.html#FTGROV">[P4: 22.3]</ulink>
                    </emphasis>
                </para>
            </sect2>
            <sect2 id="formula">
                <title>Formulas</title>
                <sect3>
                    <title>Formulas in &lt;figure&gt;</title>
                    <para>The difficulty of encoding mathematical and chemical formulas almost
                        always makes it necessary for projects to submit an image of a formula
                        rather than a marked-up representation. To provide the image of a formula,
                        use &lt;figure&gt;.</para>
                    <informalexample>
                        <programlisting format="linespecific">
                
<![CDATA[<!ENTITY formula001 SYSTEM "http://www.server.domain/kt168nb88r_formula001.gif" NDATA GIF>
<!ENTITY fig001_h SYSTEM "http://www.server.domain/figures/formula001_h.gif" NDATA GIF>
]>
. . .
<figure id="formula001" entity="formula001" rend="inline">
                    ]]></programlisting>
                    </informalexample>
                </sect3>
                <sect3>
                    <title>&lt;formula&gt;</title>
                    <para>The CDL also supports the encoding of TeX formulas within the TEI's
                        &lt;formula&gt; element. To encode TeX formulas, give the <emphasis role="bold">notation</emphasis> attribute a value of "TeX" and use the
                            <emphasis role="bold">rend</emphasis> attribute to indicate whether the
                        formula should be displayed "inline" or as a "block". Projects that wish to
                        give both a TeX expression and and an image of the formula may do both.</para>
                    <informalexample>
                        <programlisting format="linespecific">
<![CDATA[<formula notation="TeX" rend="block">
\[
\sigma_{s, \vartheta, p} = ({{\rho_{s, \vartheta, p}} -1})1000.
\]
</formula>]]>
        </programlisting>
                    </informalexample>
                    <para>
                        <emphasis role="bold">
                            <ulink url="http://www.tei-c.org/P4X/FT.html#FTFOR">[P4: 22.2]</ulink>
                        </emphasis>
                    </para>
                </sect3>
            </sect2>
        </sect1>
        <sect1 id="arbitrary">
            <title>Arbitrary Containers and Segments</title>
            <para>Arbitrary containers (&lt;ab&gt; and &lt;seg&gt;) can be nested
                virtually anywhere in the document and therefore can be used sparingly to resolve
                otherwise impossible encoding problems. When a necessary element is not valid in the
                location where it should logically go within a TEI document, an arbitrary container
                can be be inserted in the correct place instead. The text can then either be tagged
                directly as the content of the arbitrary container, or it can be tagged first with
                the desired element, which is then dropped into the arbitrary container.</para>
            <para>Arbitrary containers may also be used when no other available container element is
                appropriate for the text being marked up. This usage, however, should be very limited.</para>
            <para>The <emphasis role="bold">type</emphasis> attribute is required for both
                &lt;ab&gt; and &lt;seg&gt; elements. Suggested attribute values for
                    <emphasis role="bold">type</emphasis> are "figure", "illgrp", "tblgrp", and
                "text". Projects may assign other values as needed.</para>
            <sect2 id="seg">
                <title>&lt;seg&gt;</title>
                <para>Use &lt;seg&gt; to contain a segment of text or an element that may
                    normally appear in a paragraph but needs to encoded inside another element in
                    which it is not otherwise allowed.</para>
                <informalexample>
                    <programlisting format="linespecific">
    
<![CDATA[<address>
   <addrLine>The Compton Hotel<seg type=figure><figure id="seal1" entity="fig001"></addrLine></seg>
   <addrLine>1515 42nd Street</addrLine>
   <addrLine>Chicago, IL</addrLine>
</address>]]> 
    </programlisting>
                </informalexample>
            </sect2>
            <sect2 id="ab">
                <title>&lt;ab&gt;</title>
                <para>Use &lt;ab&gt; to contain element that may normally appear in a
                    paragraph, but needs to be encoded directly into a major division such as a
                    &lt;div<emphasis>n</emphasis>&gt; where it is not otherwise allowed. </para>
                <informalexample>
                    <programlisting format="linespecific">
<![CDATA[<ab type="illgrp">
  <figure id="fig001" entity="kt167nb66r_fig001.gif">
</ab>
]]>
      <!--NEED TO FIND BETTER EXAMPLES!-->
          </programlisting>
                </informalexample>
                <para>
                    <emphasis role="bold">
                        <ulink url="http://www.tei-c.org/P4X/SA.html#SASE">[P4: 14.3]</ulink>
                    </emphasis>
                </para>
            </sect2>
        </sect1>
    </chapter>
    <chapter>
        <title>Quality Assurance</title>
        <sect1 id="valid">
            <title>Validation</title>
            <para>All documents must parse correctly before being submitted to the CDL. All texts
                will be validated on ingest and rejected if errors are detected.</para>
        </sect1>
        <sect1 id="check">
            <title>Best Practice Checking</title>
            <para>In addition to being validated against the supplied DTDs, documents will be
                checked for conformance to the appropriate CDL TEI best practice guidelines using a
                Schematron assertion language schema. Users can check their documents on their own
                by using the CDL Text Preview page</para>
            <para>
                <ulink url="http://texts.cdlib.org/dynaxml/preview.html">http://texts.cdlib.org/dynaxml/preview.html</ulink>
            </para>
        </sect1>
        <sect1 id="proof">
            <title>Proofreading</title>
            <para>Proofreading the actual text of submitted documents is the responsibility of the
                contributor. It is highly recommended that all texts at least be spot-checked for
                major errors before submission. If the project warrants it, documents should be
                proofread by a professional using the CDL Text Preview page:</para>
            <para>
                <ulink url="http://texts.cdlib.org/dynaxml/preview.html">http://texts.cdlib.org/dynaxml/preview.html</ulink>
            </para>
        </sect1>
    </chapter>
</book>