<?tei:SOF p2stma.odd ?>
<!-- $Id: p2stma.odd,v 1.3 1994/04/08 01:36:34 msmcq Exp $ -->
<!-- $Log: p2stma.odd,v $
# Revision 1.3  1994/04/08  01:36:34  msmcq
# Last-round changes before publication of P3
#
# Revision 1.2  1994/03/24  22:20:40  msmcq
# typos found by David Barnard et al. corrected
# -->
<!-- P2.131 : Main and Auxiliary DTDs                         -->
<!-- Revisions:                                               -->
<!-- 1994-03-22 : MSM : typos, corrections, improvements from -->
<!--                    DB, EBr, JLav                         -->
<!-- 1994-03-22 : MSM : retag filenames from TERM to IDENT    -->
<!-- 3 apr 93 : LB revise for publication                     -->
<!--   expand discussion of auxiliaries a bit                 -->
<!-- 1993-03162 : MSM : stylistic, suppress xref to IN        -->
<!-- 1993-02-02 : MSM : stylistic revisions                   -->
<!-- 1993-01-27 : MSM : correct SGML typo                     -->
<!-- 25 Jan 93 : CMSMcQ : reverse labels and items in gl      -->
<!-- 12 Jan 93 : CMSMcQ : revise for clarity                  -->
<!-- 21 Oct 92 : CMSMcQ : new name new id                     -->
<!-- 26 May 92 : CMSMcQ : drafted prose                       -->
<!-- 17 May 92 : CMSMcQ : began draft (outline)               -->
 
<div2 id=STMA><head>Main and Auxiliary DTDs</head>
 
<!-- document itself in a main DTD, of which TEI has          -->
<!--         several flavors                                  -->
<!-- other information in auxiliary documents                 -->
<!-- list of auxiliary dtds                                   -->
<!-- tei interchange basically the main doc, plus any         -->
<!--         relevant additional things.                      -->
 
<p>These Guidelines define a large number of SGML tags for marking up
documents, all of which are formally defined within the <term>document
type declaration</term> (<term>DTD</term>) files provided by the TEI
and documented in the remainder of the present document.   The tags are
grouped into <term>tag sets</term> or <term>DTD fragments</term>, each
comprising a set of declarations for tags which belong together in some
respect, typically related to their intended application area.
 
<p>All tags used to transcribe documents are available for use within
the <term>main DTD</term> of the TEI and are  defined in Parts III and
IV of these Guidelines.  There are DTD fragments for prose and mixed
matter, verse and verse collections, drama, dictionaries, analysis and
interpretation of text, text criticism, etc. A full list, including the
files in which they are defined, and the rules determining their
selection and combination, is given in section <xref target=STBA>.
 
<p>A number of <term>auxiliary DTDs</term> are also defined in these
Guidelines. These are used for  the encoding of ancillary descriptive
information useful when processing electronic documents.  Part V of
these Guidelines describes several such auxiliary document types,
specifically:
 
<list type=gloss>
 
<label>independent header<item>for use with sets of TEI headers regarded
as documents in their own right, for example by libraries or archives
exchanging details of their holdings (see chapters <xref target=HD> and
<xref target=SH>).
 
<label>writing system declaration<item>used to define and document
character sets or transliteration schemes (see chapters <xref target=CH>
and <xref target=WD>).
 
<label>feature system declaration<item>used to define and document sets
of analytic features (see chapters <xref target=FS> and <xref
target=FD>).
 
<label>tag set declaration<item>used to define and document descriptive
documentation for TEI-conformant tag sets (see chapter <xref
target=TD>).
 
<!-- shd also cross ref CF? -->
</list>
 
 
<p>An independent header typically describes the encoding of a
specific document, but in the case of a planned corpus or collection, it
may define a set of encoding practices common to all texts in the
collection.  The other auxiliary document types provide information
likely to be relevant to many documents, rather than to individual
documents.
 
<p>When individual TEI documents are exchanged between sites, they
should be accompanied by whatever auxiliary documents apply to them.
When larger groups of documents are exchanged, the relevant auxiliary
documents need be exchanged only once. For further information see
chapter <xref target=IN>.
 
<p>The DTD files containing these auxiliary DTDs are:
<list type=gloss>
<label><ident type=file>teishd2.dtd</ident>
<item>independent header
<label><ident type=file>teiwsd2.dtd</ident>
<item>writing system declaration
<label><ident type=file>teifsd2.dtd</ident>
<item>feature system declaration
<label><ident type=file>teitsd2.dtd</ident>
<item>tag set declaration
</list>
 
<p>Some of these auxiliary DTDs also make use of the core tag set
defined as part of the main TEI DTD; this is described in the relevant
chapters of part V.
<?tei:EOF p2stma.odd ?>
