<!-- teidict2.dtd:  written by OddDTD 1999-05-18              -->

<!-- 12.1:  Base tag set for printed dictionaries             -->
<!-- Text Encoding Initiative: Guidelines for Electronic      -->
<!-- Text Encoding and Interchange. Document TEI P3, 1994.    -->
<!-- Copyright (c) 1994 ACH, ACL, ALLC. Permission to copy    -->
<!-- in any form is granted, provided this notice is          -->
<!-- included in all copies.                                  -->
<!-- These materials may not be altered; modifications to     -->
<!-- these DTDs should be performed as specified in the       -->
<!-- Guidelines in chapter "Modifying the TEI DTD."           -->
<!-- These materials subject to revision. Current versions    -->
<!-- are available from the Text Encoding Initiative.         -->
<!-- First we embed the default text structure.               -->
<![ %TEI.singleBase [
<!ENTITY % TEI.structure.dtd system 'teistr2.dtd'               >
%TEI.structure.dtd;
]]>
<!-- Now we define the dictionary-specific material.          -->
<!-- 12.2.1:  Dictionary entries and their structure          -->
<!ENTITY % superentry 'INCLUDE' >
<![ %superentry; [
<!ELEMENT %n.superentry; 
                        - O  ((%n.form)?, (%n.entry)+)          >
<!ATTLIST %n.superentry;     %a.global;
                             %a.entries;
          TEIform            CDATA               'superentry'   >
]]>

<!ENTITY % entry 'INCLUDE' >
<![ %entry; [
<!ELEMENT %n.entry;     - O  (%n.hom; | %n.sense; | 
                             %m.dictionaryTopLevel)+ 
                                                  +(anchor)     >
<!ATTLIST %n.entry;          %a.global;
                             %a.entries;
          TEIform            CDATA               'entry'        >
]]>

<!ENTITY % entryFree 'INCLUDE' >
<![ %entryFree; [
<!ELEMENT %n.entryFree; - O  (#PCDATA)           
                                                 
                                                 +(%m.dictionaryParts
                                                 | %m.phrase | 
                                                 %m.inter)      >
<!ATTLIST %n.entryFree;      %a.global;
                             %a.dictionaries;
                             %a.entries;
          TEIform            CDATA               'entryFree'    >
]]>

<!ENTITY % hom 'INCLUDE' >
<![ %hom; [
<!ELEMENT %n.hom;       - O  (%n.sense; | 
                             %m.dictionaryTopLevel)* 
                                                    -(entry)    >
<!ATTLIST %n.hom;            %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'hom'          >
]]>

<!ENTITY % sense 'INCLUDE' >
<![ %sense; [
<!ELEMENT %n.sense;     - -  (#PCDATA | %n.sense; | 
                             %m.dictionaryTopLevel; | 
                             %m.phrase;)*                       >
<!ATTLIST %n.sense;          %a.global;
                             %a.dictionaries;
          level              NUMBER              #IMPLIED
          TEIform            CDATA               'sense'        >
]]>

<!-- (end of 12.2.1)                                          -->
<!-- 12.3.1:  The form group                                  -->
<!ENTITY % form 'INCLUDE' >
<![ %form; [
<!ELEMENT %n.form;      - -  (%m.formInfo | %paraContent)+      >
<!ATTLIST %n.form;           %a.global;
                             %a.dictionaries;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'form'         >
]]>

<!ENTITY % orth 'INCLUDE' >
<![ %orth; [
<!ELEMENT %n.orth;      - O  (%paraContent)                     >
<!ATTLIST %n.orth;           %a.global;
                             %a.dictionaries;
          extent             CDATA               full
          type               CDATA               #IMPLIED
          TEIform            CDATA               'orth'         >
]]>

<!ENTITY % pron 'INCLUDE' >
<![ %pron; [
<!ELEMENT %n.pron;      - O  (%paraContent)                     >
<!ATTLIST %n.pron;           %a.global;
                             %a.dictionaries;
          notation           CDATA               #IMPLIED
          extent             CDATA               full
          TEIform            CDATA               'pron'         >
]]>

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

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

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

<!-- (LBL is declared with USG, elsewhere.)                   -->
<!-- Elements for morphological information:                  -->
<!ENTITY % gram 'INCLUDE' >
<![ %gram; [
<!ELEMENT %n.gram;      - O  (%paraContent;)                    >
<!ATTLIST %n.gram;           %a.global;
                             %a.dictionaries;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'gram'         >
]]>

<!ENTITY % gen 'INCLUDE' >
<![ %gen; [
<!ELEMENT %n.gen;       - -  (%paraContent)                     >
<!ATTLIST %n.gen;            %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'gen'          >
]]>

<!ENTITY % number 'INCLUDE' >
<![ %number; [
<!ELEMENT %n.number;    - -  (%paraContent;)                    >
<!ATTLIST %n.number;         %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'number'       >
]]>

<!ENTITY % case 'INCLUDE' >
<![ %case; [
<!ELEMENT %n.case;      - -  (%paraContent;)                    >
<!ATTLIST %n.case;           %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'case'         >
]]>

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

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

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

<!ENTITY % itype 'INCLUDE' >
<![ %itype; [
<!ELEMENT %n.itype;     - -  (%paraContent)                     >
<!ATTLIST %n.itype;          %a.global;
                             %a.dictionaries;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'itype'        >
]]>

<!-- (end of 12.3.1)                                          -->
<!-- 12.3.2:  The gram group                                  -->
<!ENTITY % gramGrp 'INCLUDE' >
<![ %gramGrp; [
<!ELEMENT %n.gramGrp;   - -  (%m.gramInfo | %paraContent)*      >
<!ATTLIST %n.gramGrp;        %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'gramGrp'      >
]]>

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

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

<!ENTITY % colloc 'INCLUDE' >
<![ %colloc; [
<!ELEMENT %n.colloc;    - O  (%paraContent;)                    >
<!ATTLIST %n.colloc;         %a.global;
                             %a.dictionaries;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'colloc'       >
]]>

<!-- (end of 12.3.2)                                          -->
<!-- 12.3.3.1:  Definition text                               -->
<!ENTITY % def 'INCLUDE' >
<![ %def; [
<!ELEMENT %n.def;       - O  (%paraContent;)                    >
<!ATTLIST %n.def;            %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'def'          >
]]>

<!-- (end of 12.3.3.1)                                        -->
<!-- 12.3.3.2:  Translation information                       -->
<!ENTITY % trans 'INCLUDE' >
<![ %trans; [
<!ELEMENT %n.trans;     - O  (%paraContent | 
                             %m.dictionaryParts)*               >
<!ATTLIST %n.trans;          %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'trans'        >
]]>

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

<!-- (end of 12.3.3.2)                                        -->
<!-- 12.3.4:  Etymologies                                     -->
<!ENTITY % etym 'INCLUDE' >
<![ %etym; [
<!ELEMENT %n.etym;      - O  (%paraContent | %n.usg; | %n.lbl; 
                             | %n.def; | %n.trans; | %n.tr; | 
                             (%m.morphInfo) | %n.eg; | %n.xr;)* 
                                                                >
<!ATTLIST %n.etym;           %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'etym'         >
]]>

<!ENTITY % lang 'INCLUDE' >
<![ %lang; [
<!ELEMENT %n.lang;      - -  (%paraContent)                     >
<!ATTLIST %n.lang;           %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'lang'         >
]]>

<!-- (end of 12.3.4)                                          -->
<!-- 12.3.5.1:  Examples and citations                        -->
<!ENTITY % eg 'INCLUDE' >
<![ %eg; [
<!ELEMENT %n.eg;        - O  (%n.q; | %n.quote; | %n.cit;)+ 
                                                  
                                                 +(%m.dictionaryParts
                                                 | 
                                                 %m.formPointers)
                                                                >
<!ATTLIST %n.eg;             %a.global;
                             %a.dictionaries;
          TEIform            CDATA               'eg'           >
]]>

<!-- (end of 12.3.5.1)                                        -->
<!-- 12.3.5.2:  Usage information                             -->
<!ENTITY % usg 'INCLUDE' >
<![ %usg; [
<!ELEMENT %n.usg;       - O  (%paraContent;)                    >
<!ATTLIST %n.usg;            %a.global;
                             %a.dictionaries;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'usg'          >
]]>

<!ENTITY % lbl 'INCLUDE' >
<![ %lbl; [
<!ELEMENT %n.lbl;       - O  (%paraContent;)                    >
<!ATTLIST %n.lbl;            %a.global;
                             %a.dictionaries;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'lbl'          >
]]>

<!-- (end of 12.3.5.2)                                        -->
<!-- 12.3.5.3:  Cross References                              -->
<!ENTITY % xr 'INCLUDE' >
<![ %xr; [
<!ELEMENT %n.xr;        - O  (%paraContent | %n.usg; | 
                             %n.lbl;)*                          >
<!ATTLIST %n.xr;             %a.global;
                             %a.dictionaries;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'xr'           >
]]>

<!-- (end of 12.3.5.3)                                        -->
<!-- 12.3.6:  Related entries                                 -->
<!ENTITY % re 'INCLUDE' >
<![ %re; [
<!ELEMENT %n.re;        - O  (#PCDATA | %n.sense; | 
                             %m.dictionaryTopLevel | %m.phrase 
                             )*                  
                                                 -(re)          >
<!ATTLIST %n.re;             %a.global;
                             %a.dictionaries;
          type               CDATA               #IMPLIED
          TEIform            CDATA               're'           >
]]>

<!-- (end of 12.3.6)                                          -->
<!-- 12.4:  Headword references                               -->
<!ENTITY % oRef 'INCLUDE' >
<![ %oRef; [
<!ELEMENT %n.oRef;      - O  EMPTY                              >
<!ATTLIST %n.oRef;           %a.global;
                             %a.dictionaries;
                             %a.formPointers;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'oRef'         >
]]>

<!ENTITY % oVar 'INCLUDE' >
<![ %oVar; [
<!ELEMENT %n.oVar;      - -  (#PCDATA | %n.oRef;)*              >
<!ATTLIST %n.oVar;           %a.global;
                             %a.dictionaries;
                             %a.formPointers;
          type               CDATA               #IMPLIED
          TEIform            CDATA               'oVar'         >
]]>

<!ENTITY % pRef 'INCLUDE' >
<![ %pRef; [
<!ELEMENT %n.pRef;      - O  EMPTY                              >
<!ATTLIST %n.pRef;           %a.global;
                             %a.dictionaries;
                             %a.formPointers;
          TEIform            CDATA               'pRef'         >
]]>

<!ENTITY % pVar 'INCLUDE' >
<![ %pVar; [
<!ELEMENT %n.pVar;      - -  (#PCDATA | %n.pRef;)*              >
<!ATTLIST %n.pVar;           %a.global;
                             %a.dictionaries;
                             %a.formPointers;
          TEIform            CDATA               'pVar'         >
]]>

<!-- (end of 12.4)                                            -->
<!-- (end of 12.1)                                            -->
