File: native.dtd

package info (click to toggle)
ojs 2.2.4%2Bdfsg2-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 40,820 kB
  • ctags: 25,186
  • sloc: xml: 131,068; php: 87,237; sh: 75; makefile: 27
file content (204 lines) | stat: -rw-r--r-- 5,221 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!--
  * native.dtd
  *
  * Copyright (c) 2003-2009 John Willinsky
  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
  *
  * DTD for native XML import/export.
  *
  * $Id$
  -->

<!--
  * BATCH IMPORTING USING OJS 2.x
  *  OJS 2.x supports XML import/export using this plugin for a variety of
  *  base elements:
  *   - article / articles
  *   - issue / issues
  *  Be sure to define the document type appropriately using <!DOCTYPE ...>.
  *
  * Conventions:
  *  - Dates should be specified as YYYY-MM-DD
  -->

<!-- Top-level collection containers for batch importing -->
<!ELEMENT issues (issue+)>
<!ELEMENT articles (article+)>

<!-- Generic elements -->
<!ELEMENT href EMPTY>
	<!ATTLIST href
		src CDATA #REQUIRED
		mime_type CDATA #REQUIRED>

<!ELEMENT embed (#PCDATA)>
	<!ATTLIST embed
		encoding CDATA #FIXED "base64"
		filename CDATA #REQUIRED
		mime_type CDATA #REQUIRED>

<!ENTITY % externalformat "href | embed">

<!ELEMENT title (#PCDATA)>
	<!ATTLIST title
		locale CDATA #IMPLIED>

<!ELEMENT description (#PCDATA)>
	<!ATTLIST description
		locale CDATA #IMPLIED>

<!ELEMENT date_published (#PCDATA)>

<!ELEMENT open_access EMPTY>

<!ELEMENT sponsor (#PCDATA)>
	<!ATTLIST sponsor
		locale CDATA #IMPLIED>

<!ELEMENT subject (#PCDATA)>
	<!ATTLIST subject
		locale CDATA #IMPLIED>
		
<!ELEMENT file (%externalformat;)>

<!ELEMENT image (%externalformat;)>

<!-- Issue-related elements -->
<!ELEMENT issue (title*, description*, volume?, number?, year?, cover*, date_published?, (access_date | open_access)?, section+)>
	<!ATTLIST issue
		identification (title|num_vol_year|vol_year|year) "title"
		published (true|false) "false"
		current (true|false) "false"
		public_id CDATA #IMPLIED>

<!ELEMENT volume (#PCDATA)>

<!ELEMENT number (#PCDATA)>

<!ELEMENT year (#PCDATA)>

<!ELEMENT access_date (#PCDATA)>

<!ELEMENT cover (caption?, image?)>
	<!ATTLIST cover
		locale CDATA #IMPLIED>

<!ELEMENT caption (#PCDATA)>

<!-- Section-related elements -->
<!ELEMENT section (title+, abbrev*, identify_type*, policy*, article+)>

<!ELEMENT abbrev (#PCDATA)>
	<!ATTLIST abbrev
		locale CDATA #IMPLIED>

<!ELEMENT identify_type (#PCDATA)>
	<!ATTLIST identify_type
		locale CDATA #IMPLIED>

<!ELEMENT policy (#PCDATA)>
	<!ATTLIST policy
		locale CDATA #IMPLIED>

<!--
  * Article-related elements
  * NOTES:
  *  - Locale attribute value must correspond to the journal's
  *    additional locales, if enabled, otherwise an error will be displayed.
  -->
<!ELEMENT article (title+, abstract*, indexing?, sponsor*, author*, pages?, date_published, open_access?, (galley?, htmlgalley?)+, supplemental_file*)>
	<!ATTLIST article
		public_id CDATA #IMPLIED
		language CDATA "en">

<!ELEMENT author (firstname, middlename?, lastname, affiliation?, country?, email, url?, competing_interests*, biography*)>
	<!-- One author should be designated as the primary contact for this
	     article. If no author is designated, the first author with an
	     email address will be used; if multiple authors are designated, the
	     last designated author will be used. The designated author should
	     have a valid email address if possible. -->
	<!ATTLIST author
		primary_contact (true|false) "false">

<!ELEMENT firstname (#PCDATA)>
<!ELEMENT middlename (#PCDATA)>
<!ELEMENT lastname (#PCDATA)>
<!ELEMENT affiliation (#PCDATA)>
<!ELEMENT country (#PCDATA)>
<!ELEMENT email (#PCDATA)>
<!ELEMENT url (#PCDATA)>
<!ELEMENT competing_interests (#PCDATA)>

<!ELEMENT biography (#PCDATA)>
	<!ATTLIST biography
		locale CDATA #IMPLIED>

<!ELEMENT abstract (#PCDATA)>
	<!ATTLIST abstract
		locale CDATA #IMPLIED>

<!ELEMENT pages (#PCDATA)>

<!ELEMENT indexing (discipline*, type*, subject*, subject_class*, coverage?)>

<!ELEMENT discipline (#PCDATA)>
	<!ATTLIST discipline
		locale CDATA #IMPLIED>

<!ELEMENT type (#PCDATA)>
	<!ATTLIST type
		locale CDATA #IMPLIED>

<!ELEMENT subject_class (#PCDATA)>
	<!ATTLIST subject_class
		locale CDATA #IMPLIED>

<!ELEMENT coverage (geographical*, chronological*, sample*)>

<!ELEMENT geographical (#PCDATA)>
	<!ATTLIST geographical
		locale CDATA #IMPLIED>

<!ELEMENT chronological (#PCDATA)>
	<!ATTLIST chronological
		locale CDATA #IMPLIED>

<!ELEMENT sample (#PCDATA)>
	<!ATTLIST sample
		locale CDATA #IMPLIED>

<!ELEMENT label (#PCDATA)>

<!ELEMENT stylesheet (%externalformat;)>

<!ELEMENT galley (label, file)>
	<!ATTLIST galley
		locale CDATA #IMPLIED>

<!ELEMENT htmlgalley (label, file, stylesheet?, image*)>
	<!ATTLIST htmlgalley
		locale CDATA #IMPLIED>

<!ELEMENT supplemental_file (title+, creator*, subject*, type_other?, description*, publisher*, sponsor*, date_created?, source*, file)>
	<!ATTLIST supplemental_file
		type (research_instrument | research_materials | research_results | transcripts | data_analysis | data_set | source_text | other) "other"
		language CDATA "en"
		public_id CDATA #IMPLIED>

<!ELEMENT creator (#PCDATA)>
	<!ATTLIST creator
		locale CDATA #IMPLIED>

<!ELEMENT type_other (#PCDATA)>
	<!ATTLIST type_other
		locale CDATA #IMPLIED>

<!ELEMENT publisher (#PCDATA)>
	<!ATTLIST publisher
		locale CDATA #IMPLIED>

<!ELEMENT date_created (#PCDATA)>

<!ELEMENT source (#PCDATA)>
	<!ATTLIST source
		locale CDATA #IMPLIED>