Develop and Download Open Source Software

Browse Subversion Repository

Contents of /dtd/PersTeiExt.dtd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Sun Aug 16 03:25:03 2009 UTC (14 years, 7 months ago) by ohkubo-k
File MIME type: text/plain
File size: 4143 byte(s)
initial release
1 <!-- Perseus TEI extension definitions
2
3 See PersTeiExt.ent for usage.
4
5 -->
6
7
8 <!-- New elements -->
9
10 <!-- Lemma: direct app. crit. citation -->
11 <![ %PERSEUS.LEMMA; [
12
13 <!ELEMENT %n.lemma; %om.RR; %paraContent;>
14 <!ATTLIST %n.lemma; %a.global;
15 %a.xPointer;
16 TEIform CDATA 'lemma'>
17
18 ]]>
19
20 <!-- Overlapping markup: tagStart, tagEnd -->
21 <![ %PERSEUS.OVERLAPPING; [
22
23 <!ELEMENT %n.tagStart; %om.RO; EMPTY>
24 <!ATTLIST %n.tagStart; gi CDATA #REQUIRED
25 atts CDATA #IMPLIED
26 TEIform CDATA 'tagStart'>
27
28 <!ELEMENT %n.tagEnd; %om.RO; EMPTY>
29 <!ATTLIST %n.tagEnd; gi CDATA #REQUIRED
30 TEIform CDATA 'tagEnd'>
31
32 ]]>
33
34
35 <!-- Redefined elements -->
36
37 <!-- note: allow 'note' globally -->
38 <![ %PERSEUS.NOTE; [
39
40 <!ELEMENT %n.globalNote; %om.RO; %specialPara;>
41 <!ATTLIST %n.globalNote;
42 %a.global;
43 type CDATA #IMPLIED
44 resp CDATA #IMPLIED
45 place CDATA 'unspecified'
46 anchored (yes | no) "yes"
47 target IDREFS #IMPLIED
48 targetEnd IDREFS #IMPLIED
49 TEIform CDATA 'note' >
50
51 <!ELEMENT %n.notesStmt; %om.RO; ((%n.globalNote;)+)>
52 <!ATTLIST %n.notesStmt;
53 %a.global;
54 TEIform CDATA 'notesStmt' >
55
56 ]]>
57
58 <!-- Quote: add 'type' attribute -->
59 <![%PERSEUS.QUOTE; [
60
61 <!ELEMENT %n.quote; %om.RR; %specialPara; >
62 <!ATTLIST %n.quote; %a.global;
63 type CDATA #IMPLIED
64 TEIform CDATA 'quote' >
65
66 ]]>
67
68 <!-- biblStruct: allow multiple analytics -->
69 <![%PERSEUS.BIBLSTRUCT; [
70
71 <!ELEMENT %n.biblStruct; %om.RO; ((%m.Incl;)*, ((%n.analytic;), (%m.Incl;)*)+,
72 (((%n.monogr;), (%m.Incl;)*), ((%n.series;), (%m.Incl;)*)*)+,
73 (((%n.note;), (%m.Incl;)*) | ((%n.idno;), (%m.Incl;)*))*)>
74 <!ATTLIST %n.biblStruct;
75 %a.global;
76 %a.declarable;
77 TEIform CDATA 'biblStruct' >
78
79 ]]>
80
81 <!-- dateline: allow dateline to include dateStruct, orgName-->
82 <![%PERSEUS.DATELINE; [
83
84 <!ELEMENT %n.dateline; %om.RO; ( #PCDATA | %n.date; | %n.time;
85 | %n.dateStruct; | %n.placeName; | %n.orgName; | %n.name; | %n.address; | %m.Incl; )* >
86 <!ATTLIST %n.dateline;
87 %a.global;
88 TEIform CDATA 'dateline' >
89 ]]>
90
91 <!-- placeName: add type attribute to placeName -->
92 <![%PERSEUS.PLACENAME; [
93 <!ELEMENT %n.placeName; %om.RR; ( #PCDATA | %m.placePart;
94 | %m.phrase; | %m.Incl; )* >
95 <!ATTLIST %n.placeName; %a.global;
96 type CDATA #IMPLIED
97 %a.names;
98 TEIform CDATA 'placeName' >
99 ]]>
100
101 <!-- measure: add value attribute to measure -->
102 <![%PERSEUS.MEASURE; [
103 <!ELEMENT measure %om.RR; %phrase.seq;>
104 <!ATTLIST measure
105 %a.global;
106 %a.names;
107 type CDATA #IMPLIED
108 value CDATA #IMPLIED>
109 ]]>
110
111 <!-- Extensions to make the lexica valid P4 -->
112 <![%PERSEUS.SENSE; [
113 <!ELEMENT %n.sense; %om.RR; ( #PCDATA | %n.sense; | %m.dictionaryTopLevel;
114 | %n.quote; | %n.cit; | %m.bibl; | %m.phrase;
115 | %m.morphInfo; | %n.pron; | %n.tr;
116 | %n.orth; | %n.pos; | %m.Incl; | %n.subc;
117 | %n.figure; | %n.lbl; )* >
118 <!ATTLIST %n.sense;
119 %a.global;
120 %a.dictionaries;
121 level CDATA #IMPLIED
122 TEIform CDATA 'sense' >
123 ]]>
124
125 <![%PERSEUS.CIT; [
126 <!ELEMENT %n.cit; %om.RR; (#PCDATA | %n.q; | %n.quote; | %m.bibl; | %m.loc; | %m.Incl; | %n.tr; | %n.trans; )*>
127 <!ATTLIST %n.cit;
128 %a.global;
129 TEIform CDATA 'cit' >
130 ]]>
131
132 <![%PERSEUS.FOREIGN; [
133 <!ELEMENT %n.foreign; %om.RR; (#PCDATA | %m.phrase; | %m.inter; | %m.Incl; | %m.formInfo;)* >
134 <!ATTLIST %n.foreign;
135 %a.global;
136 TEIform CDATA 'foreign' >
137 ]]>
138
139 <![%PERSEUS.ETYM; [
140 <!ELEMENT %n.etym; %om.RO; ( #PCDATA | %m.phrase; | %m.inter;
141 | %n.def; | %n.trans; | %n.tr; | %m.formInfo; | %n.eg;
142 | %n.xr; | %m.Incl; | %n.pos; )* >
143 <!ATTLIST %n.etym;
144 %a.global;
145 %a.dictionaries;
146 TEIform CDATA 'etym' >
147 ]]>
148
149 <![%PERSEUS.HI; [
150 <!ELEMENT %n.hi; %om.RR; ( #PCDATA | %m.phrase; | %m.inter; | %m.Incl;
151 | %n.usg; | %n.orth; )* >
152 <!ATTLIST %n.hi;
153 %a.global;
154 TEIform CDATA 'hi' >
155 ]]>

Properties

Name Value
svn:executable *
svn:mime-type text/plain

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26