blob: 31d3bc46e2ad26bfb6a37da3fd1c5d741fec43c5 [file] [log] [blame]
<!-- IDS-XCES v1.0 -->
<!-- -->
<!-- $Id: ids.xcesdoc.dtd 44 2009-02-20 11:01:28Z kupietz $ -->
<!-- -->
<!-- based on: -->
<!-- -->
<!-- Corpus Encoding Standard -->
<!-- -->
<!-- CES -->
<!-- -->
<!-- Encoding conventions for level 1 -->
<!-- -->
<!-- -->
<!-- -->
<!--
-->
<!-- -->
<!-- ENTITY DECLARATIONS -->
<!-- -->
<!-- Global attributes -->
<!ENTITY % a.global '
id ID #IMPLIED
n CDATA #IMPLIED
xml:lang CDATA #IMPLIED
lang IDREF #IMPLIED' >
<!ENTITY % a.text '%a.global;
rend CDATA #IMPLIED
wsd CDATA #IMPLIED' >
<!-- Elements that can appear between paragraphs -->
<!ENTITY % m.inter ' bibl | quote | list |
poem | note | caption | figure | table ' >
<!-- Sub-paragraph elements -->
<!ENTITY % x.token '' >
<!ENTITY % m.token '%x.token; abbr | date | num |
dateRange | numRange | timeRange |
measure | name | term | time | w |' >
<!ENTITY % m.phrase '%m.token; corr | distinct | foreign |
gap | hi | list | mentioned | orig | q |
ref | reg | s | stage | title | table | xref' >
<!ENTITY % base.seq '#PCDATA | %x.token; num | numRange | abbr | hi' >
<!ENTITY % phrase.seq '#PCDATA | %m.phrase;' >
<!ENTITY % par.seq '(p | sp | %m.inter;)*' >
<!-- Entitaeten aus header.elt hiereher kopiert -->
<!ENTITY % a.header '%a.global;' >
<!ENTITY % a.declarable '
Default (y | n) "n"' >
<!ENTITY % ids.customization SYSTEM "ids.xcustomize.ent" >
%ids.customization;
%ids.state.elem;
<!-- -->
<!-- ELEMENT DECLARATIONS -->
<!-- -->
<!-- HIGH-LEVEL COMPONENTS -->
<!ELEMENT idsCorpus (idsHeader,(idsDoc+)) >
<!ATTLIST idsCorpus %a.global;
type CDATA #IMPLIED
version CDATA #REQUIRED
TEIform CDATA 'teiCorpus.2' >
<!ELEMENT idsDoc (idsHeader, idsText+) >
<!ATTLIST idsDoc %a.global;
type CDATA "text"
version CDATA #REQUIRED
TEIform CDATA 'TEI.2' >
<!ENTITY % ids.header PUBLIC "-//CES//ENTITIES Header//EN" "ids.xheader.elt" >
%ids.header;
<!-- WRITTEN TEXTS -->
<!ELEMENT idsText ((idsHeader , text)) >
<!ATTLIST idsText %a.global;
version CDATA #REQUIRED >
<!ELEMENT text (front | body |back | %ids.milestones;)* >
<!-- milestones...-->
<!ATTLIST text %a.global; >
<!ELEMENT front (titlePage?,div*) >
<!ATTLIST front %a.global; >
<!ELEMENT titlePage ((docTitle|byline|docEdition|docImprint|epigraph)+) >
<!ATTLIST titlePage %a.global; >
<!ELEMENT docTitle (titlePart+) >
<!ATTLIST docTitle %a.global;
type (main | sub) #IMPLIED >
<!ELEMENT epigraph (quote) >
<!ATTLIST epigraph %a.global; >
<!ELEMENT docEdition (#PCDATA) >
<!ATTLIST docEdition %a.global; >
<!ELEMENT docImprint (#PCDATA) >
<!ATTLIST docImprint %a.global; >
<!ELEMENT titlePart (#PCDATA | s)* >
<!ATTLIST titlePart %a.global;
type (main | sub | desc | unspecified) #IMPLIED >
<!ELEMENT back (%par.seq;, div*) >
<!ATTLIST back %a.text; >
<!ELEMENT body (%par.seq;, div*) >
<!ATTLIST body %a.text;
decls IDREFS #IMPLIED >
<!ELEMENT div (opener | head | byline | p | sp | stage | %m.inter; | div | closer | %ids.milestones; )* >
<!ATTLIST div %a.text;
complete (y | n) "y"
type CDATA #REQUIRED
decls IDREFS #IMPLIED >
<!-- Opening elements -->
<!ELEMENT opener (%phrase.seq;| dateline | keywords | salute | %ids.milestones;)* >
%ids.opener.att;
%ids.head;
<!-- Keyword lists, bylines, datelines -->
<!ELEMENT keywords (term+ | list) >
<!ATTLIST keywords %a.text;
scheme IDREF #IMPLIED >
<!ELEMENT byline (%phrase.seq; | docAuthor | %ids.milestones;)* >
<!ATTLIST byline %a.text; >
<!ELEMENT docAuthor (%base.seq; | %ids.milestones; )* >
<!ATTLIST docAuthor %a.text; >
<!ELEMENT dateline (%base.seq; | date | time |
dateRange | timeRange |
name | address | %ids.milestones;)* >
<!ATTLIST dateline %a.text; >
<!ELEMENT salute (#PCDATA | %ids.milestones;)* >
<!ATTLIST salute %a.text; >
<!ELEMENT signed (#PCDATA | %ids.milestones;)* >
<!ATTLIST signed %a.text; >
<!ELEMENT address (%base.seq;)* >
<!ATTLIST address %a.text; >
<!-- Closing element -->
<!ELEMENT closer (%phrase.seq; | dateline | keywords | salute | signed | %ids.milestones;)* >
<!ATTLIST closer %a.text; >
<!-- PARAGRAPH-LEVEL ELEMENTS THE CLASS M.INTER -->
<!-- Written paragraphs -->
<!ELEMENT p (%phrase.seq; | %ids.milestones;)* >
<!ATTLIST p %a.text; >
<!-- Quotations -->
<!ELEMENT quote (%phrase.seq; | p | poem | %ids.milestones; )* >
<!ATTLIST quote %a.text;
next IDREF #IMPLIED
prev IDREF #IMPLIED
type CDATA #IMPLIED
broken (yes | no) "no" >
<!-- Lists -->
<!ELEMENT list (head?, (item | (label, (%ids.milestones;)* , item) | %ids.milestones;)*) >
<!ATTLIST list %a.text;
type CDATA #IMPLIED >
<!ELEMENT item (%phrase.seq; | p | %ids.milestones;)* >
<!ATTLIST item %a.text; >
<!ELEMENT label (%phrase.seq;)* >
<!ATTLIST label %a.text; >
<!-- Analog zu TEI koennen poem und quote innerhalb von note auftreten -->
<!ELEMENT note (%phrase.seq; | p | bibl | poem | quote | sp | %ids.milestones;)* >
<!ATTLIST note %a.text;
place (side | foot | end | unspec)
"unspec" >
<!ELEMENT bibl (%phrase.seq; | author | %ids.milestones;)* >
<!ATTLIST bibl %a.text;
%a.declarable; >
<!ELEMENT author (%base.seq;)* >
<!ATTLIST author %a.text; >
<!-- Poems -->
<!ELEMENT poem (head?, (lg | l | %ids.milestones;)+ ) >
<!ATTLIST poem %a.text; >
<!ELEMENT lg (l | lg | %ids.milestones;)+ >
<!ATTLIST lg %a.text;
type CDATA #IMPLIED
part (y | n | u) "u" >
<!ELEMENT l (%phrase.seq; | %ids.milestones;)* >
<!ATTLIST l %a.text;
part (y | n | u) "u" >
<!-- Figures -->
<!-- Motivation: Innerhalb von Bildbeischriften koennen auch Sprechpassagen
oder Zitate inkl. Sprecher oder Titel auftreten.
Die bisherige Strukturbeschreibung ist in dieser
Hinsicht nicht ausreichend.
-->
<!ELEMENT figure (head?, (p| %m.inter; | %ids.milestones; )*, figDesc?, text?) >
<!ATTLIST figure %a.text;
entity ENTITY #IMPLIED >
<!ELEMENT figDesc (%phrase.seq;)* >
<!ATTLIST figDesc %a.text; >
<!-- Tables -->
<!ELEMENT table (head?, (row | %ids.milestones;)+ ) >
<!ATTLIST table %a.text;
rows NMTOKEN #IMPLIED
cols NMTOKEN #IMPLIED >
<!ELEMENT row (cell | table)+ >
<!ATTLIST row %a.text;
role CDATA "data" >
<!ELEMENT cell (%phrase.seq; | %ids.milestones;)* >
<!ATTLIST cell %a.text;
role CDATA "data"
rows NMTOKEN "1"
cols NMTOKEN "1" >
<!-- Captions -->
<!-- Motivation: Innerhalb von Captions koennen beliebige paragraph-
wertige Strukturen sowie Ueberschriften auftreten.
Die bisherige Strukturbeschreibung ist in dieser
Hinsicht voellig unzureichend, da sie nur satzwertige
Strukturen erlaubt.
-->
<!ELEMENT caption ( head*, (p | %m.inter; | %ids.milestones; )+ ) >
<!ATTLIST caption %a.text;
type ( byline | display |
attached | unspec ) "unspec" >
<!-- Analog zu TEI koennen auch poem und quote
innerhalb von sp auftreten -->
<!ELEMENT sp (speaker | p | quote | poem | stage | %ids.milestones; )* >
<!ATTLIST sp %a.text;
who CDATA #IMPLIED >
<!ELEMENT speaker (%base.seq; | %ids.milestones; )* >
<!ATTLIST speaker %a.text; >
<!ELEMENT stage (%base.seq; | p | %ids.milestones; )* >
<!ATTLIST stage %a.text;
type CDATA #IMPLIED >
<!-- SENTENCES, QUOTED DIALOGUE WITHIN PARAGRAPHS -->
<!ELEMENT s (%phrase.seq; | %ids.milestones; )* >
<!ATTLIST s %a.text;
next IDREF #IMPLIED
prev IDREF #IMPLIED
type CDATA #IMPLIED
broken (yes | no) "no" >
<!ELEMENT q (%phrase.seq; | %ids.milestones; )* >
<!ATTLIST q %a.text; %ids.q.att.type;
next IDREF #IMPLIED
prev IDREF #IMPLIED
direct (y | n | unspecified)
"unspecified"
who CDATA #IMPLIED
broken (yes | no) "no" >
<!-- PHRASE-LEVEL ELEMENTS THE CLASS M.PHRASE -->
<!-- Editorial Changes -->
<!ELEMENT gap EMPTY >
<!ATTLIST gap %a.text;
desc CDATA #IMPLIED
reason CDATA #IMPLIED
resp CDATA #IMPLIED
cert CDATA #IMPLIED >
<!ELEMENT reg (%phrase.seq;)* >
<!ATTLIST reg %a.text;
orig CDATA #IMPLIED
resp CDATA #IMPLIED
cert CDATA #IMPLIED >
<!-- Seubert, 07.03.05 erweitert um Attribut 'regalt' wg. Varianten
in sog. Sparschreibung -->
<!ELEMENT orig (%phrase.seq;)* >
<!ATTLIST orig %a.text;
reg CDATA #IMPLIED
regalt CDATA #IMPLIED
resp CDATA #IMPLIED
cert CDATA #IMPLIED >
<!ELEMENT corr (%phrase.seq;)* >
<!ATTLIST corr %a.text;
sic CDATA #IMPLIED
resp CDATA #IMPLIED
cert CDATA #IMPLIED >
<!-- Highlighted text -->
<!ELEMENT hi (%phrase.seq; | %ids.milestones;)* >
<!ATTLIST hi %a.text; >
<!-- Other Phrase-level Elements -->
<!ELEMENT date (%base.seq;)* >
<!ATTLIST date %a.text;
ISO8601 CDATA #IMPLIED >
<!ELEMENT foreign (%phrase.seq; | %ids.milestones;)* >
<!ATTLIST foreign %a.text; >
<!ELEMENT distinct (%phrase.seq; | %ids.milestones;)* >
<!ATTLIST distinct %a.text;
type CDATA #IMPLIED >
<!ELEMENT mentioned (%phrase.seq;| %ids.milestones;)* >
<!ATTLIST mentioned %a.text; >
<!ELEMENT measure (%base.seq;)* >
<!ATTLIST measure %a.text;
type (weight| length| count| area|
volume| temperature| currency)
#IMPLIED
value CDATA #IMPLIED >
<!ELEMENT name (%base.seq; | %ids.milestones;)* >
<!ATTLIST name %a.text;
type CDATA
#IMPLIED >
<!ELEMENT term (%base.seq; | %ids.milestones;)* >
<!ATTLIST term %a.text;
type CDATA #IMPLIED >
%ids.gloss;
<!ELEMENT time (%base.seq; | %ids.milestones;)* >
<!ATTLIST time %a.text;
ISO8601 CDATA #IMPLIED
type (am | pm | 24hour | descriptive)
#IMPLIED >
<!-- provisorisch eingefuegt, Seubert (30.06.2004) -->
<!ELEMENT w (#PCDATA) >
<!ATTLIST w %a.text;
ana CDATA #IMPLIED
ctag CDATA #IMPLIED
type CDATA #IMPLIED >
<!ELEMENT title (%phrase.seq; | %ids.milestones;)* >
<!ATTLIST title %a.text;
type CDATA #IMPLIED >
<!ELEMENT abbr (#PCDATA) >
<!ATTLIST abbr %a.text;
expan CDATA #IMPLIED
resp IDREF #IMPLIED
cert CDATA #IMPLIED
type CDATA #IMPLIED >
<!ELEMENT num (#PCDATA) >
<!ATTLIST num %a.text;
type CDATA #IMPLIED
value CDATA #IMPLIED >
<!-- Eric Seubert, 03.03.06 provisorisch eingefuegt -->
<!ELEMENT dateRange (%base.seq;)* >
<!ATTLIST dateRange %a.text;
from CDATA #IMPLIED
to CDATA #IMPLIED >
<!ELEMENT numRange (%base.seq;)* >
<!ATTLIST numRange %a.text;
from CDATA #IMPLIED
to CDATA #IMPLIED
type CDATA #IMPLIED >
<!ELEMENT timeRange (%base.seq;)* >
<!ATTLIST timeRange %a.text;
from CDATA #IMPLIED
to CDATA #IMPLIED >
<!-- SEGMENTATION, LINKING, ALIGNMENT -->
<!-- Simple cross references -->
<!ELEMENT ptr EMPTY >
<!ATTLIST ptr %a.text;
corresp IDREFS #IMPLIED
next IDREF #IMPLIED
prev IDREF #IMPLIED
type CDATA #IMPLIED
resp CDATA #IMPLIED
crdate CDATA #IMPLIED
targType NMTOKENS #IMPLIED
targOrder (y | n | u) "u"
evaluate (all | one | none) #IMPLIED
target IDREFS #REQUIRED >
<!ELEMENT ref (%phrase.seq; | %ids.milestones; )* >
<!ATTLIST ref %a.text;
corresp IDREFS #IMPLIED
next IDREF #IMPLIED
prev IDREF #IMPLIED
type CDATA #IMPLIED
resp CDATA #IMPLIED
crdate CDATA #IMPLIED
targType NMTOKENS #IMPLIED
targOrder (y | n | u) "u"
evaluate (all | one | none) #IMPLIED
target CDATA #IMPLIED >
<!-- PUBLIC ENTITY SETS -->
<!ENTITY % IDSlat1 PUBLIC "-//IDS//ENTITIES Latin 1 Extension for IDS-CES//EN" "ids-lat1.ent">
%IDSlat1;