<!-- 5.1.1:  The TEI Header                                   -->
<!-- teihdr2.dtd  Tags for TEI Header.                        -->
<!-- Text Encoding Initiative: Guidelines for Electronic      -->
<!-- Text Encoding and Interchange. DRAFT Version 2. 1992-93. -->
<!-- Copyright (c) 1990, 1992, 1993 ACH, ACL, ALLC.           -->
<!-- Permission to copy in any form is granted for use with   -->
<!-- TEI-aware systems and applications, provided this        -->
<!-- notice is included in all copies.                        -->
<!-- These materials subject to revision. Current versions    -->
<!-- are available from the Text Encoding Initiative.         -->
<!ENTITY % teiHeader 'INCLUDE' >
<![ %teiHeader; [
<!ELEMENT %n.teiHeader; - -  (%n.fileDesc;, (%n.encodingDesc)*, 
                             (%n.profileDesc)*, 
                             (%n.revisionDesc)?)                >
<!ATTLIST %n.teiHeader;      %a.global;
          creator            CDATA               #IMPLIED
          date.created       CDATA               #IMPLIED
          status             (new | update)      new
          type               CDATA               text
          date.updated       CDATA               #IMPLIED       >
]]>

<!-- 5.1.1:  The TEI Header (cont'd)                          -->
<!-- 5.2:  The file description                               -->
<!ENTITY % fileDesc 'INCLUDE' >
<![ %fileDesc; [
<!ELEMENT %n.fileDesc;  - -  (%n.titleStmt;, (%n.editionStmt)?, 
                             (%n.extent)?, %n.publicationStmt;, 
                             (%n.seriesStmt)?, (%n.notesStmt)?, 
                             (%n.sourceDesc)+ )                 >
<!ATTLIST %n.fileDesc;       %a.global;                         >
]]>

<!-- 5.2.1:  The title statement                              -->
<!ENTITY % titleStmt 'INCLUDE' >
<![ %titleStmt; [
<!ELEMENT %n.titleStmt; - o  (((%n.title)+, (%n.author; | 
                             %n.editor; | %n.sponsor; | 
                             %n.funder; | %n.principal; | 
                             %n.respStmt;)*))                   >
<!ATTLIST %n.titleStmt;      %a.global;                         >
]]>

<!ENTITY % sponsor 'INCLUDE' >
<![ %sponsor; [
<!ELEMENT %n.sponsor;   - o  ( %phrase.seq; )                   >
<!ATTLIST %n.sponsor;        %a.global;                         >
]]>

<!ENTITY % funder 'INCLUDE' >
<![ %funder; [
<!ELEMENT %n.funder;    - o  ( %phrase.seq; )                   >
<!ATTLIST %n.funder;         %a.global;                         >
]]>

<!ENTITY % principal 'INCLUDE' >
<![ %principal; [
<!ELEMENT %n.principal; - o  (%phrase.seq;)                     >
<!ATTLIST %n.principal;      %a.global;                         >
]]>

<!-- The TITLE, AUTHOR, NAME, RESPSTMT, and RESP elements     -->
<!-- are declared with the core tags, not here.               -->
<!-- (end of 5.2.1)                                           -->
<!-- 5.2.2:  The edition statement                            -->
<!ENTITY % editionStmt 'INCLUDE' >
<![ %editionStmt; [
<!ELEMENT %n.editionStmt; 
                        - o  ( (%n.edition;, (%n.respStmt)*) | 
                             (%n.p)+ )                          >
<!ATTLIST %n.editionStmt;    %a.global;                         >
]]>

<!ENTITY % edition 'INCLUDE' >
<![ %edition; [
<!ELEMENT %n.edition;   - o  (%phrase.seq;)                     >
<!ATTLIST %n.edition;        %a.global;                         >
]]>

<!-- (end of 5.2.2)                                           -->
<!-- 5.2.3:  The extent statement                             -->
<!ENTITY % extent 'INCLUDE' >
<![ %extent; [
<!ELEMENT %n.extent;    - o  (%phrase.seq; )                    >
<!ATTLIST %n.extent;         %a.global;                         >
]]>

<!-- (end of 5.2.3)                                           -->
<!-- 5.2.4:  The publication statement                        -->
<!ENTITY % publicationStmt 'INCLUDE' >
<![ %publicationStmt; [
<!ELEMENT %n.publicationStmt; 
                        - o  ((%n.p)+ | ( (%n.publisher; | 
                             %n.distributor; | %n.authority;) & 
                             ((%n.pubPlace)?, (%n.address)?, 
                             (%n.idno)*, (%n.availability)?, 
                             (%n.date)?)+ )+ )                  >
<!ATTLIST %n.publicationStmt;%a.global;                         >
]]>

<!ENTITY % distributor 'INCLUDE' >
<![ %distributor; [
<!ELEMENT %n.distributor; 
                        - o  (%phrase.seq;)                     >
<!ATTLIST %n.distributor;    %a.global;                         >
]]>

<!ENTITY % authority 'INCLUDE' >
<![ %authority; [
<!ELEMENT %n.authority; - o  (%phrase.seq;)                     >
<!ATTLIST %n.authority;      %a.global;                         >
]]>

<!ENTITY % idno 'INCLUDE' >
<![ %idno; [
<!ELEMENT %n.idno;      - o  (#PCDATA)                          >
<!ATTLIST %n.idno;           %a.global;
          type               CDATA               #IMPLIED       >
]]>

<!ENTITY % availability 'INCLUDE' >
<![ %availability; [
<!ELEMENT %n.availability; 
                        - o  ((%n.p)+)                          >
<!ATTLIST %n.availability;   %a.global;
          status             (free | unknown | restricted) 
                                                 #IMPLIED       >
]]>

<!-- The PUBLISHER, PUBPLACE, and ADDRESS elements are        -->
<!-- defined with the core tags.                              -->
<!-- (end of 5.2.4)                                           -->
<!-- 5.2.5:  The series statement                             -->
<!ENTITY % seriesStmt 'INCLUDE' >
<![ %seriesStmt; [
<!ELEMENT %n.seriesStmt; 
                        - O  ( (%n.title;, (%n.idno; | 
                             %n.respStmt;)*) | (%n.p)+ )        >
<!ATTLIST %n.seriesStmt;     %a.global;                         >
]]>

<!-- (end of 5.2.5)                                           -->
<!-- 5.2.6:  The notes statement                              -->
<!ENTITY % notesStmt 'INCLUDE' >
<![ %notesStmt; [
<!ELEMENT %n.notesStmt; - o  ((%n.note)+)                       >
<!ATTLIST %n.notesStmt;      %a.global;                         >
]]>

<!-- The NOTE element is defined with the core tags.          -->
<!-- (end of 5.2.6)                                           -->
<!-- (end of 5.2)                                             -->
<!-- 5.2.7:  The source description                           -->
<!ENTITY % sourceDesc 'INCLUDE' >
<![ %sourceDesc; [
<!ELEMENT %n.sourceDesc; 
                        - -  (%n.p; | %n.bibl; | %n.biblFull; | 
                             %n.biblStruct; | %n.listBibl; | 
                             %n.scriptStmt; | 
                             %n.recordingStmt;)+                >
<!ATTLIST %n.sourceDesc;     %a.global;
                             %a.declarable;                     >
]]>

<!-- (end of 5.2.7)                                           -->
<!-- 5.3:  The encoding description                           -->
<!ENTITY % encodingDesc 'INCLUDE' >
<![ %encodingDesc; [
<!ELEMENT %n.encodingDesc; 
                        - -  ((%n.projectDesc)*, 
                             (%n.samplingDecl)*, 
                             (%n.editorialDecl)*, 
                             (%n.tagsDecl)?, (%n.refsDecl)*, 
                             (%n.classDecl)*, (%n.p)*)          >
<!ATTLIST %n.encodingDesc;   %a.global;                         >
]]>

<!-- 5.3.1:  The project description                          -->
<!ENTITY % projectDesc 'INCLUDE' >
<![ %projectDesc; [
<!ELEMENT %n.projectDesc; 
                        - o  ((%n.p)+)                          >
<!ATTLIST %n.projectDesc;    %a.global;
                             %a.declarable;                     >
]]>

<!-- (end of 5.3.1)                                           -->
<!-- 5.3.2:  The sampling declaration                         -->
<!ENTITY % samplingDecl 'INCLUDE' >
<![ %samplingDecl; [
<!ELEMENT %n.samplingDecl; 
                        - o  ((%n.p)+)                          >
<!ATTLIST %n.samplingDecl;   %a.global;
                             %a.declarable;                     >
]]>

<!-- (end of 5.3.2)                                           -->
<!-- 5.3.3:  The editorial practices declaration              -->
<!ENTITY % editorialDecl 'INCLUDE' >
<![ %editorialDecl; [
<!ELEMENT %n.editorialDecl; 
                        - o  ( (%n.p)+ | ((%n.correction; | 
                             %n.normalization; | %n.quotation; 
                             | %n.hyphenation; | 
                             %n.interpretation; | 
                             %n.segmentation; | %n.stdVals;)+, 
                             (%n.p)*))                          >
<!ATTLIST %n.editorialDecl;  %a.global;
                             %a.declarable;                     >
]]>

<!ENTITY % correction 'INCLUDE' >
<![ %correction; [
<!ELEMENT %n.correction; 
                        - o  ((%n.p)+)                          >
<!ATTLIST %n.correction;     %a.global;
                             %a.declarable;
          method             (silent | tags)     silent
          status             (high | medium | low | unknown) 
                                                 unknown        >
]]>

<!ENTITY % normalization 'INCLUDE' >
<![ %normalization; [
<!ELEMENT %n.normalization; 
                        - o  ((%n.p)+)                          >
<!ATTLIST %n.normalization;  %a.global;
                             %a.declarable;
          source             CDATA               #IMPLIED
          method             (silent | tags)     silent         >
]]>

<!ENTITY % quotation 'INCLUDE' >
<![ %quotation; [
<!ELEMENT %n.quotation; - o  ((%n.p)+)                          >
<!ATTLIST %n.quotation;      %a.global;
                             %a.declarable;
          form               (data | rend | std | nonstd | 
                             unknown)            unknown
          marks              (none | some | all) all            >
]]>

<!ENTITY % hyphenation 'INCLUDE' >
<![ %hyphenation; [
<!ELEMENT %n.hyphenation; 
                        - o  ((%n.p)+)                          >
<!ATTLIST %n.hyphenation;    %a.global;
                             %a.declarable;
          eol                (all | some | none) some           >
]]>

<!ENTITY % segmentation 'INCLUDE' >
<![ %segmentation; [
<!ELEMENT %n.segmentation; 
                        - o  ((%n.p)+)                          >
<!ATTLIST %n.segmentation;   %a.global;
                             %a.declarable;                     >
]]>

<!ENTITY % stdVals 'INCLUDE' >
<![ %stdVals; [
<!ELEMENT %n.stdVals;   - o  ((%n.p)+)                          >
<!ATTLIST %n.stdVals;        %a.global;
                             %a.declarable;                     >
]]>

<!ENTITY % interpretation 'INCLUDE' >
<![ %interpretation; [
<!ELEMENT %n.interpretation; 
                        - o  ((%n.p)+)                          >
<!ATTLIST %n.interpretation; %a.global;
                             %a.declarable;                     >
]]>

<!-- (end of 5.3.3)                                           -->
<!-- 5.3.4:  Tag usage and rendition declarations             -->
<!ENTITY % tagsDecl 'INCLUDE' >
<![ %tagsDecl; [
<!ELEMENT %n.tagsDecl;  - O  ((%n.rendition)*, (%n.tagUsage)*)  >
<!ATTLIST %n.tagsDecl;       %a.global;                         >
]]>

<!ENTITY % tagUsage 'INCLUDE' >
<![ %tagUsage; [
<!ELEMENT %n.tagUsage;  - O  (%paraContent)                     >
<!ATTLIST %n.tagUsage;       %a.global;
          gi                 NAME                #REQUIRED
          occurs             NUMBER              #IMPLIED
          ident              NUMBER              #IMPLIED
          render             IDREF               #IMPLIED       >
]]>

<!ENTITY % rendition 'INCLUDE' >
<![ %rendition; [
<!ELEMENT %n.rendition; - O  (%paraContent)                     >
<!ATTLIST %n.rendition;      %a.global;                         >
]]>

<!-- (end of 5.3.4)                                           -->
<!-- 5.3.5.3:  The reference scheme declaration               -->
<!ENTITY % refsDecl 'INCLUDE' >
<![ %refsDecl; [
<!ELEMENT %n.refsDecl;  - o  ((%n.p)+ | (%n.step)+ | 
                             (%n.state)+)                       >
<!ATTLIST %n.refsDecl;       %a.global;
          doctype            NAME                TEI.2          >
]]>

<!ENTITY % step 'INCLUDE' >
<![ %step; [
<!ELEMENT %n.step;      - o  EMPTY                              >
<!ATTLIST %n.step;           %a.global;
          att                NAME                #IMPLIED
          gi                 NAME                #IMPLIED
          length             NUMBER              #IMPLIED
          delim              CDATA               #IMPLIED       >
]]>

<!ENTITY % state 'INCLUDE' >
<![ %state; [
<!ELEMENT %n.state;     - o  EMPTY                              >
<!ATTLIST %n.state;          %a.global;
          ed                 CDATA               #IMPLIED
          length             NUMBER              #IMPLIED
          unit               CDATA               #REQUIRED
          delim              CDATA               #IMPLIED       >
]]>

<!-- (end of 5.3.5.3)                                         -->
<!-- 5.3.6:  The classification declaration                   -->
<!ENTITY % classDecl 'INCLUDE' >
<![ %classDecl; [
<!ELEMENT %n.classDecl; - -  ((%n.taxonomy)+)                   >
<!ATTLIST %n.classDecl;      %a.global;                         >
]]>

<!ENTITY % taxonomy 'INCLUDE' >
<![ %taxonomy; [
<!ELEMENT %n.taxonomy;  - -  ((%n.category)+ | ((%n.bibl; | 
                             %n.biblStruct; | %n.biblFull;), 
                             (%n.category)*))                   >
<!ATTLIST %n.taxonomy;       %a.global;                         >
]]>

<!ENTITY % category 'INCLUDE' >
<![ %category; [
<!ELEMENT %n.category;  - -  (%n.catDesc;, (%n.category)*)      >
<!ATTLIST %n.category;       %a.global;                         >
]]>

<!ENTITY % catDesc 'INCLUDE' >
<![ %catDesc; [
<!ELEMENT %n.catDesc;   - o  (%phrase.seq; | %n.textDesc;)      >
<!ATTLIST %n.catDesc;        %a.global;                         >
]]>

<!-- (end of 5.3.6)                                           -->
<!-- (end of 5.3)                                             -->
<!-- 5.4:  The profile description                            -->
<!ENTITY % profileDesc 'INCLUDE' >
<![ %profileDesc; [
<!ELEMENT %n.profileDesc; 
                        - -  ((%n.creation)?, (%n.langUsage)*, 
                             (%n.textDesc)*, (%n.particDesc)*, 
                             (%n.settingDesc)*, 
                             (%n.textClass)*)                   >
<!ATTLIST %n.profileDesc;    %a.global;                         >
]]>

<!-- 5.4.1:  Creation                                         -->
<!ENTITY % creation 'INCLUDE' >
<![ %creation; [
<!ELEMENT %n.creation;  - o  (%phrase.seq;)                     >
<!ATTLIST %n.creation;       %a.global;                         >
]]>

<!-- (end of 5.4.1)                                           -->
<!-- 5.4.2:  Language usage                                   -->
<!ENTITY % langUsage 'INCLUDE' >
<![ %langUsage; [
<!ELEMENT %n.langUsage; - o  (%n.p; | %n.language;)+            >
<!ATTLIST %n.langUsage;      %a.global;
                             %a.declarable;                     >
]]>

<!ENTITY % language 'INCLUDE' >
<![ %language; [
<!ELEMENT %n.language;  - o  (%phrase.seq)                      >
<!ATTLIST %n.language;       
          lang               IDREF               %INHERITED
          rend               CDATA               #IMPLIED
          n                  CDATA               #IMPLIED
          id                 ID                  #IMPLIED
          wsd                ENTITY              #IMPLIED
          usage              NUMBER              #IMPLIED       >
]]>

<!-- (end of 5.4.2)                                           -->
<!-- 5.4.3:  Text Classification                              -->
<!ENTITY % textClass 'INCLUDE' >
<![ %textClass; [
<!ELEMENT %n.textClass; - -  ((%n.classCode; | %n.catRef; | 
                             %n.keywords;)* )                   >
<!ATTLIST %n.textClass;      %a.global;
                             %a.declarable;                     >
]]>

<!ENTITY % keywords 'INCLUDE' >
<![ %keywords; [
<!ELEMENT %n.keywords;  - o  ((%n.term;)+ | %n.list;)        >
<!ATTLIST %n.keywords;       %a.global;
          scheme             IDREF               #IMPLIED       >
]]>

<!ENTITY % classCode 'INCLUDE' >
<![ %classCode; [
<!ELEMENT %n.classCode; - -  (%phrase.seq)                      >
<!ATTLIST %n.classCode;      %a.global;
          scheme             IDREF               #IMPLIED       >
]]>

<!ENTITY % catRef 'INCLUDE' >
<![ %catRef; [
<!ELEMENT %n.catRef;    - o  EMPTY                              >
<!ATTLIST %n.catRef;         %a.global;
          scheme             IDREF               #IMPLIED
          target             IDREFS              #REQUIRED      >
]]>

<!-- (end of 5.4.3)                                           -->
<!-- (end of 5.4)                                             -->
<!-- 5.5:  The Revision Description                           -->
<!ENTITY % revisionDesc 'INCLUDE' >
<![ %revisionDesc; [
<!ELEMENT %n.revisionDesc; 
                        - -  (%n.list; | (%n.change)+)          >
<!ATTLIST %n.revisionDesc;   %a.global;                         >
]]>

<!ENTITY % change 'INCLUDE' >
<![ %change; [
<!ELEMENT %n.change;    - O  (%n.date;, (%n.respStmt)+, 
                             %n.item;)                          >
<!ATTLIST %n.change;         %a.global;                         >
]]>

<!-- RESP is declared elsewhere in the header.                -->
<!-- ITEM is declared in core tags.                           -->
<!-- DATE is declared in core tags.                           -->
<!-- (end of 5.5)                                             -->
<!-- (end of 5.1.1)                                           -->
<!-- (end of 5.1.1)                                           -->
<!-- 5.2.9:                                                   -->
<!ENTITY % scriptStmt 'INCLUDE' >
<![ %scriptStmt; [
<!ELEMENT %n.scriptStmt; 
                        - -  ((%n.p)+ | %n.bibl; | %n.biblFull; 
                             | %n.biblStruct;)                  >
<!ATTLIST %n.scriptStmt;     %a.global;
                             %a.declarable;                     >
]]>

<!ENTITY % recordingStmt 'INCLUDE' >
<![ %recordingStmt; [
<!ELEMENT %n.recordingStmt; 
                        - -  ((%n.p)+ | (%n.recording)+ )       >
<!ATTLIST %n.recordingStmt;  %a.global;                         >
]]>

<!ENTITY % recording 'INCLUDE' >
<![ %recording; [
<!ELEMENT %n.recording; - -  ((%n.p)+ | (%n.respStmt; | 
                             %n.equipment; | %n.broadcast; | 
                             %n.date;)*)                        >
<!ATTLIST %n.recording;      %a.global;
                             %a.declarable;
          dur                CDATA               #IMPLIED
          type               (audio | video)     audio          >
]]>

<!ENTITY % equipment 'INCLUDE' >
<![ %equipment; [
<!ELEMENT %n.equipment; - o  ((%n.p)+)                          >
<!ATTLIST %n.equipment;      %a.global;
                             %a.declarable;                     >
]]>

<!ENTITY % broadcast 'INCLUDE' >
<![ %broadcast; [
<!ELEMENT %n.broadcast; - -  ((%n.p)+ | %n.bibl; | 
                             %n.biblStruct; | %n.biblFull; | 
                             %n.recording;)                     >
<!ATTLIST %n.broadcast;      %a.global;
                             %a.declarable;                     >
]]>

<!-- (end of 5.2.9)                                           -->
