@teipublisher/oddity-language-server 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +48 -2
  3. package/dist/edit.js +313 -0
  4. package/dist/edit.js.map +7 -0
  5. package/dist/index.js +803 -0
  6. package/dist/index.js.map +7 -0
  7. package/dist/node.cjs +44962 -0
  8. package/dist/node.cjs.map +7 -0
  9. package/package.json +74 -4
  10. package/schema/README.md +41 -0
  11. package/schema/docbook/docbook.rng +18457 -0
  12. package/schema/jats/BITS-embedded-index2.ent.rng +340 -0
  13. package/schema/jats/BITS-question-answer2.ent.rng +795 -0
  14. package/schema/jats/JATS-XHTMLtablesetup1-3.ent.rng +614 -0
  15. package/schema/jats/JATS-ali-namespace1-3.ent.rng +284 -0
  16. package/schema/jats/JATS-archivearticle1-3-mathml3.rng +1277 -0
  17. package/schema/jats/JATS-archivecustom-classes1-3.ent.rng +427 -0
  18. package/schema/jats/JATS-archivecustom-mixes1-3.ent.rng +630 -0
  19. package/schema/jats/JATS-archivecustom-models1-3.ent.rng +2205 -0
  20. package/schema/jats/JATS-articlemeta1-3.ent.rng +3138 -0
  21. package/schema/jats/JATS-backmatter1-3.ent.rng +601 -0
  22. package/schema/jats/JATS-chars1-3.ent.rng +715 -0
  23. package/schema/jats/JATS-common-atts1-3.ent.rng +367 -0
  24. package/schema/jats/JATS-common1-3.ent.rng +6007 -0
  25. package/schema/jats/JATS-default-classes1-3.ent.rng +1953 -0
  26. package/schema/jats/JATS-default-mixes1-3.ent.rng +583 -0
  27. package/schema/jats/JATS-display1-3.ent.rng +1669 -0
  28. package/schema/jats/JATS-format1-3.ent.rng +1256 -0
  29. package/schema/jats/JATS-funding1-3.ent.rng +1389 -0
  30. package/schema/jats/JATS-journalmeta1-3.ent.rng +691 -0
  31. package/schema/jats/JATS-link1-3.ent.rng +664 -0
  32. package/schema/jats/JATS-list1-3.ent.rng +747 -0
  33. package/schema/jats/JATS-math1-3.ent.rng +620 -0
  34. package/schema/jats/JATS-mathml3-mathmlsetup1-3.ent.rng +459 -0
  35. package/schema/jats/JATS-nlmcitation1-3.ent.rng +522 -0
  36. package/schema/jats/JATS-para1-3.ent.rng +780 -0
  37. package/schema/jats/JATS-phrase1-3.ent.rng +725 -0
  38. package/schema/jats/JATS-references1-3.ent.rng +1713 -0
  39. package/schema/jats/JATS-related-object1-3.ent.rng +453 -0
  40. package/schema/jats/JATS-section1-3.ent.rng +482 -0
  41. package/schema/jats/mathml3-qname1.mod.rng +61 -0
  42. package/schema/jats/mathml3.rng +4094 -0
  43. package/schema/jats/xhtml-inlstyle-1.mod.rng +37 -0
  44. package/schema/jats/xhtml-table-1.mod.rng +426 -0
  45. package/schema/odd/teipublisher_odds.rng +12769 -0
  46. package/schema/tei/tei_all.rng +23212 -0
  47. package/src/core/association.ts +155 -0
  48. package/src/core/complete.ts +147 -0
  49. package/src/core/elements.ts +86 -0
  50. package/src/core/outline.ts +156 -0
  51. package/src/core/schema.ts +55 -0
  52. package/src/core/tags.ts +104 -0
  53. package/src/core/toml.ts +64 -0
  54. package/src/core/validate.ts +128 -0
  55. package/src/core/wellformed.ts +16 -0
  56. package/src/edit.ts +11 -0
  57. package/src/index.ts +16 -0
  58. package/src/node.ts +39 -0
  59. package/src/server/server.ts +248 -0
@@ -0,0 +1,1953 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- ============================================================= -->
3
+ <!-- MODULE: Default Element Classes Module -->
4
+ <!-- VERSION: ANSI/NISO JATS Version 1.3 (Z39.96-2021) -->
5
+ <!-- DATE: June 2021 -->
6
+ <!---->
7
+ <!-- ============================================================= -->
8
+ <!-- ============================================================= -->
9
+ <!-- PUBLIC DOCUMENT TYPE DEFINITION -->
10
+ <!-- TYPICAL INVOCATION -->
11
+ <!--
12
+ "-//NLM//DTD JATS (Z39.96) Default Element Classes Module v1.3 20210610//EN"
13
+ Delivered as file "JATS-default-classes1-3.ent"
14
+ -->
15
+ <!-- ============================================================= -->
16
+ <!-- ============================================================= -->
17
+ <!-- SYSTEM: JATS DTD Suite -->
18
+ <!---->
19
+ <!-- PURPOSE: To declare the Parameter Entities (PEs) used to -->
20
+ <!-- define the default element classes. Classes are -->
21
+ <!-- OR-groups of elements that are defined together -->
22
+ <!-- to be used in mixes and in Element Declarations. -->
23
+ <!---->
24
+ <!-- Note: Since PEs must be declared before they -->
25
+ <!-- are used, this module must be called before all -->
26
+ <!-- content modules that declare elements, and after -->
27
+ <!-- the class customization module (if any). -->
28
+ <!---->
29
+ <!-- CONTAINS: PEs that define the element classes to be used -->
30
+ <!-- in the JATS DTD Suite modules. -->
31
+ <!---->
32
+ <!-- TAG SET SPONSOR -->
33
+ <!-- National Center for Biotechnology -->
34
+ <!-- Information (NCBI) -->
35
+ <!-- National Library of Medicine (NLM) -->
36
+ <!---->
37
+ <!-- CREATED FOR: -->
38
+ <!-- This module was created for the JATS DTD Suite. -->
39
+ <!-- Digital archives and publishers may use the -->
40
+ <!-- DTD as is for markup of journal literature or -->
41
+ <!-- related material for archiving and transferring -->
42
+ <!-- such material between archives or create a -->
43
+ <!-- custom XML DTD from the Suite for -->
44
+ <!-- these purposes. -->
45
+ <!---->
46
+ <!-- This DTD is in the public domain. An organization -->
47
+ <!-- that wishes to create its own DTD from the suite -->
48
+ <!-- may do so without permission from NLM. -->
49
+ <!---->
50
+ <!-- The suite has been set up to be extended using a -->
51
+ <!-- new DTD file and a new DTD-specific customization -->
52
+ <!-- module to redefine the many Parameter Entities. -->
53
+ <!-- Do not modify the suite directly or redistribute -->
54
+ <!-- modified versions of the suite. -->
55
+ <!---->
56
+ <!-- In the interest of maintaining consistency and -->
57
+ <!-- clarity for potential users, NLM requests: -->
58
+ <!---->
59
+ <!-- 1. If you create a DTD from the JATS DTD Suite -->
60
+ <!-- and intend to stay compatible with the suite, -->
61
+ <!-- then please include the following statement -->
62
+ <!-- as a comment in all of your DTD modules: -->
63
+ <!-- "Created from, and fully compatible with, -->
64
+ <!-- the ANSI/NISO Z39.96 Journal Article Tag -->
65
+ <!-- Suite (JATS)." -->
66
+ <!---->
67
+ <!-- 2. If you alter one or more modules of the suite, -->
68
+ <!-- then please rename your version and all its -->
69
+ <!-- modules to avoid any confusion with the -->
70
+ <!-- original suite. Also, please include the -->
71
+ <!-- following statement as a comment in all your -->
72
+ <!-- DTD modules: -->
73
+ <!-- "Based in part on, but not fully compatible -->
74
+ <!-- with, the ANSI/NISO Z39.96 Journal Article -->
75
+ <!-- Tag Suite (JATS)." -->
76
+ <!---->
77
+ <!-- ORIGINAL CREATION DATE: -->
78
+ <!-- August 2004 -->
79
+ <!---->
80
+ <!-- CREATED BY: Mulberry Technologies, Inc. for the NISO Z39.96 -->
81
+ <!-- Working Group. Mulberry Technologies was -->
82
+ <!-- supported by National Center for Biotechnology -->
83
+ <!-- Information (NCBI), a center of the US National -->
84
+ <!-- Library of Medicine (NLM). -->
85
+ <!---->
86
+ <!-- This module is part of the JATS DTD Suite. The -->
87
+ <!-- Suite is a continuation of work done by NCBI, -->
88
+ <!-- Mulberry Technologies, and Inera, Inc. on the NLM -->
89
+ <!-- Journal Archiving and Interchange DTD Suite, which -->
90
+ <!-- was originally released in December, 2002. -->
91
+ <!---->
92
+ <!-- NLM thanks the Harvard University Libraries, both -->
93
+ <!-- for proposing that a draft archiving NLM DTD for -->
94
+ <!-- life sciences journals be extended to accommodate -->
95
+ <!-- journals in all disciplines and for sponsoring -->
96
+ <!-- Inera Inc.'s collaboration with other DTD -->
97
+ <!-- authors in completing NLM Version 1.0. The -->
98
+ <!-- Andrew W. Mellon Foundation provided support for -->
99
+ <!-- these important contributions. -->
100
+ <!---->
101
+ <!-- Suggestions for refinements and enhancements to -->
102
+ <!-- this DTD should be sent in email to: -->
103
+ <!-- jats@ncbi.nlm.nih.gov -->
104
+ <!-- ============================================================= -->
105
+ <!-- ============================================================= -->
106
+ <!-- DTD VERSION/CHANGE HISTORY -->
107
+ <!-- ============================================================= -->
108
+ <!--
109
+ Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
110
+ ==============================================================
111
+ JATS Version 1.3 (ANSI/NISO Z39.96-2021)
112
+ (DAL/BTU) v1.3 (2021-06-10)
113
+
114
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
115
+ which requires voting by both the NISO and ANSI memberships
116
+ to be changed. This version of the NISO JATS was approved
117
+ by ANSI vote on June 10, 2021, so it supersedes all Committee
118
+ Drafts as well as the draft version JATS 1.3 2021 (the version
119
+ submitted for vote), becoming NISO JATS v1.3 20210610
120
+ (ANSI/NISO Z39.96-2019).
121
+
122
+ The file names and formal public identifiers have been
123
+ changed in the modules and the catalogs.
124
+
125
+ 46. JATS 'v1.3d2 20201130' becomes 'v1.3 20210610'
126
+ (final ANSI vote date)
127
+ 'ANSI/NISO Z39.96-2019' becomes 'ANSI/NISO Z39.96-2021'
128
+
129
+ ==============================================================
130
+ JATS Version 1.3d2 (ANSI/NISO Z39.96-2021)
131
+ (DAL/BTU) v1.3d2 (2020-11-30)
132
+
133
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
134
+ which requires voting by the NISO and ANSI memberships
135
+ to be changed.
136
+
137
+ This draft DTD represents an interim version of the
138
+ non-normative JATS DTD Suite, as an indication to JATS users
139
+ of the decisions that have been made by the JATS Standing
140
+ Committee. This draft has not yet been given public review
141
+ or voting; it is for Standing Committee review and
142
+ testing. The formal public identifiers have been changed
143
+ in the modules and the catalogs.
144
+
145
+ 45. NEW DATE-ONLY CLASS - Added new date only class, since
146
+ date.class grew to include <string-date>, and there are
147
+ times when ,string-date> is not wanted.
148
+
149
+ 44. STRING DATE - Added <string-date> to all citations
150
+ (mixed-, element-, product, related-article, related-object)
151
+ by adding it to %references.class;.
152
+
153
+ 43. JATS "v1.3d2 20201130" becomes 'v1.3 20210610' (second
154
+ committee draft following the final ANSI/NISO 1.2 vote)
155
+
156
+ ==============================================================
157
+ JATS Version 1.3d1 (ANSI/NISO Z39.96-2021)
158
+ (DAL/BTU) v1.3.d1 (2019-08-31)
159
+
160
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
161
+ which requires voting by the NISO and ANSI memberships
162
+ to be changed.
163
+
164
+ This draft DTD represents an interim version of the
165
+ non-normative JATS DTD Suite, as an indication to JATS users
166
+ of the decisions that have been made by the JATS Standing
167
+ Committee. This draft has not yet been given public review
168
+ or voting. The formal public identifiers were changed in the
169
+ modules and the catalogs.
170
+
171
+ 42. NEW BLOCK ALTERNATIVES CLASS - Added new display class:
172
+ block-alternatives class to hold the elements that may be
173
+ used inside the new <block-alternatives> element.
174
+
175
+ 41. QUESTIONS AND ANSWERS - Added the BITS question and answer
176
+ models to JATS.
177
+
178
+ - The following elements were added to the block display
179
+ class Parameter Entity:
180
+ - answer and answer-set
181
+ - explanation
182
+ - question, question-wrap, question-wrap-group
183
+
184
+ - The block display class noalt received the same elements
185
+
186
+ - A new PE, block display no explanation, was added
187
+ for use in <answer> and <option> elements.
188
+
189
+ - New PE were added for modeling questions/answers:
190
+ - question-answer.class
191
+ - question-wrap.class
192
+ - option.class
193
+
194
+ 40. SUBJECT GROUP CLASS - Made the element <subj-group> into its own
195
+ class ( subj-group.class ) for use in models.
196
+
197
+ 39. JATS "1.2" becomes "v1.3d1 20190831" (first committee
198
+ draft following the final ANSI/NISO vote)
199
+
200
+ ==============================================================
201
+ JATS Version 1.2 (ANSI/NISO Z39.96-2021)
202
+ (DAL/BTU) v1.2 (2019-02-08)
203
+
204
+ NISO JATS is a continuing maintenance NISO Standard, which
205
+ requires voting by the both the NISO and ANSI membership
206
+ to be changed. This version of the NISO JATS was approved
207
+ by ANSI vote on Feb 08, 2019, so it supersedes all Committee
208
+ Drafts as well as the draft version JATS 1.2 2018 (the version
209
+ submitted for vote), becoming NISO JATS v1.2 20190208
210
+ (ANSI/NISO Z39.96-2021).
211
+
212
+ 38. JATS "1.2" becomes "v1.2 20190208" (final ANSI vote date)
213
+ "ANSI/NISO Z39.96-2015" becomes "ANSI/NISO Z39.96-2019"
214
+
215
+ ==============================================================
216
+ JATS Version 1.2 (ANSI/NISO Z39.96-2018)
217
+ (DAL/BTU) v1.2 (2018-11-30)
218
+
219
+ NISO JATS is a continuing maintenance NISO Standard, which
220
+ requires voting by the both the NISO and ANSI membership
221
+ to be changed. This version of the NISO JATS was approved
222
+ by ANSI and NISO vote, so it supersedes all Committee Drafts
223
+ and becoming NISO JATS 1.2 (ANSI/NISO Z39.96-2018).
224
+
225
+ 37.
226
+ JATS "1.2d2" and "v1.2d2 20180401" became
227
+ JATS "1.2" and "v1.2 20181130"
228
+
229
+ =============================================================
230
+ JATS Version 1.2d2 (DAL/BTU) v1.2d2 (2018-04-01)
231
+
232
+ JATS is a continuing maintenance NISO Standard, which
233
+ requires voting by the ANSI and NISO memberships to be changed.
234
+ BITS is under continuous maintenance, and is modified at the
235
+ discretion of the working group.
236
+
237
+ This draft DTD represents an interim version of the
238
+ non-normative JATS DTD Suite, as an indication to JATS users
239
+ the decisions that have been made by the JATS Standing
240
+ Committee. This draft has not yet been given public review
241
+ or voting. The formal public identifiers were changed in the
242
+ modules and the catalogs.
243
+
244
+ 36. INLINE-INDEX - Added the elements <index-term> and
245
+ <index-term-range-end> to phrase class to add the ability
246
+ to tag inline (embedded) index terms.
247
+
248
+ 35. INLINE-MEDIA - <inline-media> added to all the classes that
249
+ contained <inline-graphic>
250
+
251
+ 34. BITS "2.0" and "v2.0 20151225" remain unchanged
252
+
253
+ JATS "1.2d1" and "v1.2d1 20171231" became
254
+ JATS "1.2d2" and "v1.2d2 20180401".
255
+
256
+ No module names were changed.
257
+
258
+ =============================================================
259
+ JATS Version 1.2d1 (ANSI/NISO Z39.96-2015)
260
+ (DAL/BTU) v1.2d1 (2017-12-31)
261
+
262
+ NISO JATS is a continuing maintenance NISO Standard, which
263
+ requires voting by the ANSI and NISO memberships to be changed.
264
+
265
+ This draft DTD represents an interim version of the
266
+ non-normative JATS DTD Suite, as an indication to JATS users
267
+ the decisions that have been made by the JATS Standing
268
+ Committee. This draft has not yet been given public review
269
+ or voting. The formal public identifiers were changed in the
270
+ modules and the catalogs.
271
+
272
+ 33. JATS "1.2d1" and "v1.2d1 20170631" became
273
+ JATS "1.2d1" and "v1.2d1 20171231".
274
+
275
+ =============================================================
276
+ JATS Version 1.2d1 (DAL/BTU) v1.2d1 (2017-06-31)
277
+
278
+ NISO JATS is a continuing maintenance NISO Standard, which
279
+ requires voting by the ANSI and NISO memberships to be changed.
280
+
281
+ This draft DTD represents an interim version of the
282
+ non-normative JATS DTD Suite, as an indication to JATS users
283
+ the decisions that have been made by the JATS Standing
284
+ Committee. This draft has not yet been given public review
285
+ or voting. The formal public identifiers were changed in the
286
+ modules and the catalogs.
287
+
288
+ 32. NEW CLASS FOR TITLES/SOURCES - Made the element <abbrev>
289
+ into its own class, so it can be added to title elements
290
+ without adding milestones.
291
+
292
+ 31. INSIDE A TABLE: Added <disp-formula> as a sibling to
293
+ <graphic>, <list>, etc. as the content of a <table-wrap>
294
+ that does not contain a <table>. Added <disp-formula> to
295
+ simple-intable-display.class.
296
+
297
+ 30. JATS became version "1.2d1" and "v1.2d1 20170631"
298
+
299
+ =============================================================
300
+ JATS Version 1.1 (DAL/BTU) v1.1 (2015-12-15)
301
+
302
+ JATS is a continuing maintenance NISO Standard, which
303
+ requires voting by the ANSI and NISO memberships to be changed.
304
+ JATS 1.1 was approved in late 2015, so the formal public
305
+ identifiers were changed in the modules and the catalogs.
306
+ No model or attribute changes were made at this time.
307
+
308
+ 29. JATS became version "1.1" and "v1.1 20151215"
309
+ BITS remained version "2.0" but becomes "v2.0 20151225"
310
+
311
+ =============================================================
312
+ JATS Version 1.1d3 (DAL/BTU) v1.1d3 (2015-03-01)
313
+
314
+ The changes in this release are in response to NISO
315
+ License and Indicators Recommended Practice.
316
+
317
+ NISO JATS is a continuing maintenance NISO Standard, which
318
+ requires voting by the NISO membership to be changed. This
319
+ Committee Draft 1.1d3 will be sent to the NISO voting
320
+ membership, to become (if approved) NISO JATS 1.1.
321
+
322
+ This draft DTD represents an interim version of the
323
+ non-normative JATS DTD Suite, as an indication to JATS users
324
+ the decisions that have been made by the JATS Standing
325
+ Committee.
326
+
327
+ 28. ALI (NISO Access and License Indicators)
328
+ - Added <ali:license_ref> to license-p.class, as
329
+ alternatives inside <license>
330
+ - Created a new class: license.class to hold the new ALI
331
+ element <ali:free_to_read>, as an alternative to
332
+ <license> inside <permissions>.
333
+
334
+ 27. JATS became version "1.1d3" and "v1.1d3 20150301"
335
+
336
+ =============================================================
337
+ JATS Version 1.1d2 (DAL/BTU) v1.1d2 (2014-09-30)
338
+
339
+ NISO JATS is a continuing maintenance NISO Standard, which
340
+ requires voting by the NISO membership to be changed. This
341
+ Committee Draft 1.1d2 will be sent to the NISO voting
342
+ membership, to become (if approved) NISO JATS 1.1.
343
+
344
+ This catalog represents an interim version of the
345
+ non-normative JATS DTD Suite, as an indication to JATS users
346
+ the decisions that have been made by the JATS Standing
347
+ Committee.
348
+
349
+ 26. ADDED TO REFERENCES - Added the following elements to
350
+ %references.class so that it would be allowed inside all
351
+ citation types, product, et al.
352
+ - conf-acronym
353
+ - data-title (for citing datasets and parts of datasets)
354
+ - version (for data and software, similar to edition)
355
+
356
+ 25. STATEMENT - Added new statement.class, so that statements
357
+ can be recursive.
358
+
359
+ 24. JATS became version "1.1d2" and "v1.1d2 20140930//EN"
360
+
361
+ 23. ADDRESS ELEMENTS IN NEW CLASSES
362
+ - Added 3 new elements: <city>, <state>, <postal-code>
363
+ - address.class
364
+ - address-line.class
365
+ which adds then to: address, addr-line, add, collab,
366
+ conf-loc, corresp, publisher-loc
367
+
368
+ =============================================================
369
+ NISO JATS Version 1.1d1 (DAL/BTU) v1.1 (2013-11-15)
370
+
371
+ ANSI/NISO Z39.96-2012 (pre-release for V1.0 BITS; Version 1.1d1)
372
+
373
+ NISO JATS Standing Committee met and answered the requests and
374
+ suggestions from the NISO request forms.
375
+
376
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
377
+ XSDs, RNGs and supporting documentation are available at
378
+ http://jats.nlm.nih.gov/1.3d2/
379
+
380
+ 22. NEW <era> ELEMENT
381
+ Added <era> to date-parts.class
382
+
383
+ 21. NEW CLASSES
384
+ - def-item.class
385
+ - def-list.class
386
+ - list-item.class
387
+ - ref.class for use in <ref-list>
388
+ - unstructured-kwd-group.class for use in Green
389
+
390
+ 20. NEW CODE ELEMENT- Added <code> to
391
+ - alternatives-display.class
392
+ - block-display.class
393
+ - block-display-noalt.class
394
+ - floats-display.class
395
+ - inside-chem-struct-wrap.class
396
+ - simple-display.class
397
+ - simple-display-noalt.class
398
+ - simple-intable-display.class
399
+
400
+ 19. INSTITUTION-WRAP ADDED
401
+ Added the element <institution-wrap> to the following classes:
402
+ - address.class
403
+ - address-line.class
404
+ - recipient-name.class
405
+ - references.class
406
+
407
+ 18. RUBY
408
+ - Added <ruby> to emphasis class
409
+ - Added a face-markup class (all the emphasis class except
410
+ <ruby>) for use inside <ruby>
411
+
412
+ 17. ADDED NEW CLASSES (for new locations for the elements)
413
+ - abstract.class
414
+ - kwd-group.class
415
+ - institution.class
416
+ - institution-wrap.class
417
+
418
+ =============================================================
419
+ NISO JATS Version 1.0 (DAL/BTU) v1.0 (2012-xx-xx)
420
+
421
+ ANSI/NISO Z39.96-2012 (Version 1.0)
422
+
423
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
424
+ XSDs, RNGs and supporting documentation are available at
425
+ http://jats.nlm.nih.gov/1.3d2/
426
+
427
+ 16. CITATION ALTERNATIVES - Added a new element
428
+ <citation-alternatives> to the citation.class. The element
429
+ will hold, for example, a single citation in multiple
430
+ languages or a single citation tagged as a <mixed-citation>
431
+ complete with punctuation and spacing and also as an
432
+ <element-citation> with all punctuation and spacing removed.
433
+
434
+ 15. CONTRIBUTOR ID CLASS - Created a new class "contrib-id.class"
435
+ to hold identifiers for people such as contributors such
436
+ as <contrib> and <principal-investigator>s. This will hold
437
+ publishers-specific IDs, ORCIDs, and JST and NII identifiers.
438
+
439
+ 14. NESTED KEYWORD CLASS - Created a new class "nested-kwd.class"
440
+ to hold the kinds of keywords that can be used inside
441
+ a nested keyword structure.
442
+
443
+ 13. COLLAB CLASS - Created a new class "collab.class" to hold
444
+ only the element <collab>, for use in the element
445
+ <collab-alternatives>.
446
+
447
+ 12. COLLABORATION ALTERNATIVES - Added <collab-alternatives> to
448
+ the name.class and -references.class to allow the
449
+ <collab-alternatives> element to occur anywhere <collab>
450
+ was already used.
451
+
452
+ 11. STANDARDS CLASS - Created a new class "std.class" to hold all
453
+ the elements inside the <std> element within citations.
454
+
455
+ 10. REFERENCES CLASS - Added <issn-l> to the class.
456
+
457
+ 9. NOTHING BUT PARA CLASS - Added a new %nothing-but-para.class;
458
+ to get rid of PE clashes when the entity %just-para.class; needed
459
+ to be expanded to include other elements. The nothing-but
460
+ parameter entity contains <p> and only <p> and should never
461
+ be changed in a customization. The infelicitously-named PE
462
+ %just-para.class; can be modified for a customization to include
463
+ other elements as well.
464
+
465
+ =============================================================
466
+ Version 0.4 (DAL/BTU) v0.4 (2011-01-31)
467
+
468
+ This Tag Set is in the process of becoming a NISO standard.
469
+ The version numbers are starting over from 0.4", as a Trial
470
+ Use Draft, to be made into "Version 1.0" when the Tag Suite
471
+ becomes a NISO standard. Thus, the version number that would
472
+ have been "NLM Version 3.1 Draft" has become NISO JATS
473
+ "Version 0.4".
474
+
475
+ Details on NISO Trial Use Draft Version 0.4 are available at
476
+ http://jats.nlm.nih.gov/JATS-0.4.
477
+
478
+ 8. Updated the DTD-version attribute to "0.4"
479
+
480
+ 7. Updated the public identifier to "v0.4 20110131",
481
+ modified the formal public identifier to include "JATS (Z39.96)",
482
+ and the filename as delivered to include "JATS" and the
483
+ new version number "0".
484
+ http://jats.nlm.nih.gov/0.4.
485
+
486
+ 6. NEW CLASS FOR just <alt-text> %small-access.class;
487
+ Since not everything needs a <long-desc>
488
+
489
+ 5. ALTERNATIVES - Added <private-char> so that the alternatives
490
+ wrapper may be used to hold alternative characters, some as
491
+ <private-char>, some as <textual-form>, some as <graphic>,
492
+ etc.
493
+
494
+ 4. AFFILIATION ALTERNATIVES - Added the element <aff-alternatives>
495
+ to hold multiple <aff>s that are representations of a single
496
+ affiliation, for example, the name of an institution in two
497
+ languages or two scripts.
498
+ - contrib-info.class
499
+ - person-group-info.class
500
+ - Made a new class %aff-alternatives.class to hold just
501
+ <aff> and <aff-alternatives> NEW PE
502
+
503
+ 3. NAME ALTERNATIVES - Added a new container element to hold
504
+ alternate versions of a person's name, for example:
505
+ - a Roman alphabet transliteration, the Japanese characters,
506
+ and the Japanese with Ruby annotations or
507
+ - the full peerage title of a person as well as a name
508
+ that is just surname and given names
509
+ - a name and a sort version of the name that transliterates
510
+ the diacritics (such as cedillas and umlauts) to the same
511
+ character with no diacritic.
512
+ a. This structure was added to name.class PE
513
+ b. This structure was added to %investigator-name.class;
514
+ c. This structure was added to %recipient-name.class;
515
+ d. This structure was added to %references.class;
516
+
517
+ 2. ROLE - Added <role> to %person-group-info.class; thereby
518
+ adding it to: <person-group> and <sig-block>
519
+
520
+ =============================================================
521
+ Version 3.0 (DAL/BTU) v3.0 (2007-10-31)
522
+
523
+ Version 3.0 is the first non-backward-compatible release.
524
+ In addition to the usual incremental changes, some
525
+ elements and attributes have been renamed and/or remodeled
526
+ to better meet user needs and to increase tag set consistency.
527
+ All module change histories are available through the Tag Suite
528
+ web site at http://dtd.nlm.nih.gov.
529
+
530
+ Details on version 3.0 are available at
531
+ http://dtd.nlm.nih.gov/3.0.
532
+
533
+ 1. Updated public identifier to "v3.0 20071031//EN"
534
+ -->
535
+ <!-- ============================================================= -->
536
+ <!--
537
+ Details concerning
538
+ ANSI/NISO Z39.96-2015 JATS-based DTDs, XSDs,
539
+ RNGs and supporting documentation are available at
540
+ http://jats.nlm.nih.gov/1.1/
541
+ -->
542
+ <!-- ============================================================= -->
543
+ <!-- CLASSES FOR COMMON ELEMENTS (%common.ent;) -->
544
+ <!-- ============================================================= -->
545
+ <!-- ADDRESS CLASS ELEMENTS -->
546
+ <!--
547
+ Potential element components of an address;
548
+ not a proper class
549
+ -->
550
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0">
551
+ <define name="address.class">
552
+ <choice>
553
+ <ref name="addr-line"/>
554
+ <ref name="city"/>
555
+ <ref name="country"/>
556
+ <ref name="fax"/>
557
+ <ref name="institution"/>
558
+ <ref name="institution-wrap"/>
559
+ <ref name="phone"/>
560
+ <ref name="postal-code"/>
561
+ <ref name="state"/>
562
+ </choice>
563
+ </define>
564
+ <!-- ADDRESS LINE CLASS ELEMENTS -->
565
+ <!--
566
+ Potential element components of an address;
567
+ line not a proper class
568
+ -->
569
+ <define name="address-line.class">
570
+ <choice>
571
+ <ref name="city"/>
572
+ <ref name="country"/>
573
+ <ref name="fax"/>
574
+ <ref name="institution"/>
575
+ <ref name="institution-wrap"/>
576
+ <ref name="phone"/>
577
+ <ref name="postal-code"/>
578
+ <ref name="state"/>
579
+ </choice>
580
+ </define>
581
+ <!-- CITATION CLASS ELEMENTS -->
582
+ <!--
583
+ Reference to an external document, as used
584
+ within, for example, the text of a
585
+ paragraph
586
+ -->
587
+ <!-- CITATION MINUS ALTERNATIVES CLASS ELEMENTS -->
588
+ <!--
589
+ All the citation elements except the
590
+ <citation-alternatives> element.
591
+ -->
592
+ <!-- DEFINITION CLASS ELEMENTS -->
593
+ <!--
594
+ Definitions and other elements to match
595
+ with terms and abbreviations
596
+ -->
597
+ <define name="def.class">
598
+ <ref name="def"/>
599
+ </define>
600
+ <!-- DEGREE CLASS -->
601
+ <!--
602
+ The academic or professional degrees that
603
+ accompany a person's name
604
+ -->
605
+ <define name="degree.class">
606
+ <ref name="degrees"/>
607
+ </define>
608
+ <!-- IDENTIFIER CLASS ELEMENTS -->
609
+ <!--
610
+ DOIs and other identifiers are used by
611
+ publishers at many levels, for example for
612
+ an <abstract> or a <fig>.
613
+ -->
614
+ <define name="id.class">
615
+ <ref name="object-id"/>
616
+ </define>
617
+ <!-- LABEL CLASS -->
618
+ <!--
619
+ The label element, used to hold the number
620
+ or character of a labeled object such as a
621
+ table or footnote
622
+ -->
623
+ <define name="label.class">
624
+ <ref name="label"/>
625
+ </define>
626
+ <!-- NOTE CLASS ELEMENTS -->
627
+ <!--
628
+ A note may appear at the end of an Article
629
+ or at the end of a Table. For example, a
630
+ typical end-of-article note is a
631
+ "Note in Proof".
632
+ -->
633
+ <define name="note.class">
634
+ <ref name="note"/>
635
+ </define>
636
+ <!-- ============================================================= -->
637
+ <!-- PERSON NAMING ELEMENTS (%common.ent;) -->
638
+ <!-- ============================================================= -->
639
+ <!-- COLLAB CLASS -->
640
+ <!--
641
+ A class to hold the <collab> element, so that
642
+ more than on collaboration can be named
643
+ inside <collab-alternatives>.
644
+ -->
645
+ <define name="collab.class">
646
+ <ref name="collab"/>
647
+ </define>
648
+ <!-- INVESTIGATOR NAMES CLASS -->
649
+ <!--
650
+ The elements used to name the personal names
651
+ for principal investigators.
652
+ -->
653
+ <define name="investigator-name.class">
654
+ <choice>
655
+ <ref name="name"/>
656
+ <ref name="name-alternatives"/>
657
+ <ref name="string-name"/>
658
+ </choice>
659
+ </define>
660
+ <!-- NAMES ALTERNATIVES CLASS -->
661
+ <!--
662
+ Elements that may contain the name of a
663
+ person. These elements act as alternatives
664
+ inside the <name-alternatives> wrapper, to
665
+ allow multiple versions of one person's name
666
+ to be included. These variants are
667
+ differentiated by attributes: @xml:lang for
668
+ language, region, language variant, etc. and
669
+ @specific-use for indexing names,
670
+ search names, etc.
671
+ -->
672
+ <define name="name-alternatives.class">
673
+ <choice>
674
+ <ref name="name"/>
675
+ <ref name="string-name"/>
676
+ </choice>
677
+ </define>
678
+ <!-- NAMES CLASS -->
679
+ <!--
680
+ The elements used to name the personal names
681
+ for individuals and the collaboration names
682
+ for groups.
683
+ -->
684
+ <define name="name.class">
685
+ <choice>
686
+ <ref name="anonymous"/>
687
+ <ref name="collab"/>
688
+ <ref name="collab-alternatives"/>
689
+ <ref name="name"/>
690
+ <ref name="name-alternatives"/>
691
+ <ref name="string-name"/>
692
+ </choice>
693
+ </define>
694
+ <!-- PERSONAL NAMES CLASS -->
695
+ <!--
696
+ The element components of a person's name,
697
+ for the name of a contributor
698
+ -->
699
+ <define name="person-name.class">
700
+ <choice>
701
+ <ref name="degrees"/>
702
+ <ref name="given-names"/>
703
+ <ref name="prefix"/>
704
+ <ref name="surname"/>
705
+ <ref name="suffix"/>
706
+ </choice>
707
+ </define>
708
+ <!-- STRING NAME CLASS -->
709
+ <!--
710
+ The element <string-name> is most useful
711
+ inside citations, but some tag sets restrict
712
+ its use in metadata. A one-element class.
713
+ -->
714
+ <!-- RECIPIENT NAMES CLASS -->
715
+ <!--
716
+ The elements used to name the personal names
717
+ or corporate names (such as Labs) for
718
+ funded award recipients
719
+ -->
720
+ <define name="recipient-name.class">
721
+ <choice>
722
+ <ref name="name"/>
723
+ <ref name="name-alternatives"/>
724
+ <ref name="institution"/>
725
+ <ref name="institution-wrap"/>
726
+ <ref name="string-name"/>
727
+ </choice>
728
+ </define>
729
+ <!-- ============================================================= -->
730
+ <!-- ARTICLE METADATA CONTRIBUTOR CLASSES; -->
731
+ <!-- ============================================================= -->
732
+ <!-- CONTRIBUTOR CLASS -->
733
+ <!--
734
+ Sometimes only the <contrib> element needs to
735
+ be added to a model. Used mostly in the
736
+ model for <contrib-group>.
737
+ -->
738
+ <define name="contrib.class">
739
+ <ref name="contrib"/>
740
+ </define>
741
+ <!-- CONTRIBUTOR GROUP CLASS -->
742
+ <!--
743
+ Sometimes only the <contrib-group> element
744
+ needs to be added to a model.
745
+ -->
746
+ <define name="contrib-group.class">
747
+ <ref name="contrib-group"/>
748
+ </define>
749
+ <!-- CONTRIBUTOR IDENTIFIER CLASS -->
750
+ <!--
751
+ Names the class to hold unique
752
+ person identifiers, such as an ORCID or
753
+ a trusted publisher identifier.
754
+ -->
755
+ <define name="contrib-id.class">
756
+ <ref name="contrib-id"/>
757
+ </define>
758
+ <!-- CONTRIBUTOR INFORMATION CLASS -->
759
+ <!-- Metadata about a contributor -->
760
+ <!-- CONTRIBUTOR INFORMATION FOR REFERENCES -->
761
+ <!--
762
+ The additions and alternatives to a person's
763
+ name that may be used inside the element
764
+ <person-group>
765
+ -->
766
+ <define name="person-group-info.class">
767
+ <choice>
768
+ <ref name="aff"/>
769
+ <ref name="aff-alternatives"/>
770
+ <ref name="etal"/>
771
+ <ref name="role"/>
772
+ </choice>
773
+ </define>
774
+ <!-- ============================================================= -->
775
+ <!-- ARTICLE METADATA CLASSES %articlemeta.ent; -->
776
+ <!-- ============================================================= -->
777
+ <!-- ARTICLE IDENTIFIER CLASS ELEMENTS -->
778
+ <!--
779
+ Collected article identifiers for use in
780
+ various models.
781
+ -->
782
+ <define name="article-identifier.class">
783
+ <choice>
784
+ <ref name="article-id"/>
785
+ <ref name="issn"/>
786
+ <ref name="issn-l"/>
787
+ <ref name="isbn"/>
788
+ </choice>
789
+ </define>
790
+ <!-- ARTICLE VERSION CLASS ELEMENTS -->
791
+ <!--
792
+ Making sure that wherever <article-version>
793
+ is allowed, <article-version-alternatives>
794
+ is also allowed.
795
+ -->
796
+ <define name="article-version.class">
797
+ <choice>
798
+ <ref name="article-version"/>
799
+ <ref name="article-version-alternatives"/>
800
+ </choice>
801
+ </define>
802
+ <!-- ABSTRACT CLASS ELEMENTS -->
803
+ <!--
804
+ Potential element components of an address;
805
+ not a proper class
806
+ -->
807
+ <define name="abstract.class">
808
+ <ref name="abstract"/>
809
+ </define>
810
+ <!-- AFFILIATIONS ALTERNATIVES CLASS -->
811
+ <!-- The <aff> and <aff-alternatives> elements only -->
812
+ <define name="aff-alternatives.class">
813
+ <choice>
814
+ <ref name="aff"/>
815
+ <ref name="aff-alternatives"/>
816
+ </choice>
817
+ </define>
818
+ <!-- CONFERENCE CLASS -->
819
+ <!--
820
+ The element components of the description
821
+ of a conference; not a proper class
822
+ -->
823
+ <define name="conference.class">
824
+ <choice>
825
+ <ref name="conf-date"/>
826
+ <ref name="conf-name"/>
827
+ <ref name="conf-num"/>
828
+ <ref name="conf-loc"/>
829
+ <ref name="conf-sponsor"/>
830
+ <ref name="conf-theme"/>
831
+ <ref name="conf-acronym"/>
832
+ <ref name="string-conf"/>
833
+ </choice>
834
+ </define>
835
+ <!-- CORRESPONDING AUTHOR CLASS -->
836
+ <!--
837
+ Elements associated with the corresponding
838
+ author
839
+ -->
840
+ <define name="corresp.class">
841
+ <ref name="corresp"/>
842
+ </define>
843
+ <!-- DATE CLASS ELEMENTS -->
844
+ <!-- Dates and other matters of history -->
845
+ <define name="date.class">
846
+ <choice>
847
+ <ref name="date"/>
848
+ <ref name="string-date"/>
849
+ </choice>
850
+ </define>
851
+ <!-- DATE-ONLY CLASS ELEMENTS -->
852
+ <!--
853
+ Dates and other matters of history, when
854
+ <string-date> is expressly not wanted.
855
+ -->
856
+ <!-- DATE PARTS CLASS ELEMENTS -->
857
+ <!-- Components of date-style elements -->
858
+ <define name="date-parts.class">
859
+ <choice>
860
+ <ref name="day"/>
861
+ <ref name="era"/>
862
+ <ref name="month"/>
863
+ <ref name="season"/>
864
+ <ref name="year"/>
865
+ </choice>
866
+ </define>
867
+ <!-- EVENT CLASS ELEMENTS -->
868
+ <!-- Dates and other matters of history -->
869
+ <define name="event.class">
870
+ <ref name="event"/>
871
+ </define>
872
+ <!-- INSTITUTION CLASS ELEMENTS -->
873
+ <!--
874
+ To hold an <institution> and its
875
+ identifiers, so you always can use both
876
+ together.
877
+ -->
878
+ <define name="institution.class">
879
+ <choice>
880
+ <ref name="institution"/>
881
+ <ref name="institution-id"/>
882
+ </choice>
883
+ </define>
884
+ <!-- INSTITUTION CLASS ELEMENTS -->
885
+ <!--
886
+ To allow both of the institution elements to
887
+ be used anywhere one of them might be needed.
888
+ -->
889
+ <define name="institution-wrap.class">
890
+ <choice>
891
+ <ref name="institution"/>
892
+ <ref name="institution-wrap"/>
893
+ </choice>
894
+ </define>
895
+ <!-- JOURNAL IDENTIFIER CLASS ELEMENTS -->
896
+ <!--
897
+ The <journal-id> element and any synonyms.
898
+ Created for use inside <related-article>.
899
+ -->
900
+ <define name="journal-id.class">
901
+ <ref name="journal-id"/>
902
+ </define>
903
+ <!-- KEYWORD CLASS ELEMENTS -->
904
+ <!-- Keywords and any keyword-synonyms -->
905
+ <define name="kwd.class">
906
+ <choice>
907
+ <ref name="kwd"/>
908
+ <ref name="compound-kwd"/>
909
+ <ref name="nested-kwd"/>
910
+ </choice>
911
+ </define>
912
+ <!-- KEYWORD GROUP CLASS ELEMENTS -->
913
+ <!-- The element <kwd-group> for use in models. -->
914
+ <define name="kwd-group.class">
915
+ <ref name="kwd-group"/>
916
+ </define>
917
+ <!-- LICENSE CLASS ELEMENTS -->
918
+ <!--
919
+ The alternatives to <license> that may live
920
+ inside <permissions>.
921
+ -->
922
+ <define name="license.class">
923
+ <choice>
924
+ <ref name="ali.free_to_read"/>
925
+ <ref name="license"/>
926
+ </choice>
927
+ </define>
928
+ <!-- LICENSE PARAGRAPH CLASS ELEMENTS -->
929
+ <!--
930
+ To hold the paragraphs and license
931
+ references that may be inside the element
932
+ <license>.
933
+ -->
934
+ <define name="license-p.class">
935
+ <choice>
936
+ <ref name="ali.license_ref"/>
937
+ <ref name="license-p"/>
938
+ </choice>
939
+ </define>
940
+ <!-- NESTED KEYWORD CLASS ELEMENTS -->
941
+ <!--
942
+ The kinds of keywords that can be used inside
943
+ a nested keyword structure.
944
+ -->
945
+ <define name="nested-kwd.class">
946
+ <choice>
947
+ <ref name="kwd"/>
948
+ <ref name="compound-kwd"/>
949
+ </choice>
950
+ </define>
951
+ <!-- PUBLICATION DATE CLASS ELEMENTS -->
952
+ <!--
953
+ New element <pub-date-not-available> added to
954
+ <book-meta> as an alternative to <pub-date>.
955
+ The meaning is that a publication date was
956
+ (for whatever reason) not available. Presence
957
+ of the element says nothing about
958
+ publication status. The element
959
+ <pub-date-not-available> was NOT added to
960
+ this class, since the new element may
961
+ occur only once.
962
+ -->
963
+ <define name="pub-date.class">
964
+ <ref name="pub-date"/>
965
+ </define>
966
+ <!-- SUBJECT GROUP CLASS ELEMENTS -->
967
+ <!-- The element <subj-group> for use in models. -->
968
+ <define name="subj-group.class">
969
+ <ref name="subj-group"/>
970
+ </define>
971
+ <!-- TITLE CLASS -->
972
+ <!--
973
+ Title metadata element that can be used
974
+ to provide article-like metadata about
975
+ other objects, for example a <supplement>
976
+ -->
977
+ <define name="title.class">
978
+ <ref name="title"/>
979
+ </define>
980
+ <!-- UNSTRUCTURED KEYWORD GROUP CLASS -->
981
+ <!--
982
+ The <unstructured-kwd-group> element for use
983
+ by itself.
984
+ -->
985
+ <define name="unstructured-kwd-group.class">
986
+ <ref name="unstructured-kwd-group"/>
987
+ </define>
988
+ <!-- STRING DATE CLASS -->
989
+ <!-- The <string-date> element for use by itself. -->
990
+ <define name="string-date.class">
991
+ <ref name="string-date"/>
992
+ </define>
993
+ <!-- ============================================================= -->
994
+ <!-- BACK MATTER CLASSES (%backmatter.ent;) -->
995
+ <!-- ============================================================= -->
996
+ <!-- JUST APPENDIX CLASS -->
997
+ <!-- The appendix and only the appendix -->
998
+ <define name="app.class">
999
+ <ref name="app"/>
1000
+ </define>
1001
+ <!-- BACK MATTER CLASS -->
1002
+ <!--
1003
+ Ancillary elements, typically used in the
1004
+ back matter of an article, section, etc.
1005
+ -->
1006
+ <define name="back.class">
1007
+ <choice>
1008
+ <ref name="ack"/>
1009
+ <ref name="app-group"/>
1010
+ <ref name="bio"/>
1011
+ <ref name="fn-group"/>
1012
+ <ref name="glossary"/>
1013
+ <ref name="ref-list"/>
1014
+ </choice>
1015
+ </define>
1016
+ <!-- FRONT MATTER CLASS -->
1017
+ <!--
1018
+ Ancillary elements, typically used in the
1019
+ front matter of an article, book, etc. .
1020
+ -->
1021
+ <define name="front.class">
1022
+ <choice>
1023
+ <ref name="ack"/>
1024
+ <ref name="bio"/>
1025
+ <ref name="fn-group"/>
1026
+ <ref name="glossary"/>
1027
+ </choice>
1028
+ </define>
1029
+ <!-- FRONT AND BACK CLASS -->
1030
+ <!--
1031
+ Ancillary elements, typically used in the
1032
+ front or back matter of an article
1033
+ -->
1034
+ <define name="front-back.class">
1035
+ <ref name="notes"/>
1036
+ </define>
1037
+ <!-- SECTION BACK MATTER CLASS -->
1038
+ <!--
1039
+ Ancillary elements, typically used in the
1040
+ back matter of a section, etc.
1041
+ -->
1042
+ <define name="sec-back.class">
1043
+ <choice>
1044
+ <ref name="fn-group"/>
1045
+ <ref name="glossary"/>
1046
+ <ref name="ref-list"/>
1047
+ </choice>
1048
+ </define>
1049
+ <!-- JUST SIGNATURE CLASS -->
1050
+ <!--
1051
+ The signature and only the signature <sig>
1052
+ for use inside <sig-block>s
1053
+ -->
1054
+ <define name="sig.class">
1055
+ <ref name="sig"/>
1056
+ </define>
1057
+ <!-- ============================================================= -->
1058
+ <!-- CLASSES USED IN DISPLAY ELEMENTS -->
1059
+ <!-- ============================================================= -->
1060
+ <!-- ACCESSIBILITY CLASS ELEMENTS -->
1061
+ <!--
1062
+ Elements added to make it easier to process
1063
+ journal articles in ways that are more
1064
+ accessible to people and devices with special
1065
+ needs, for example the visually handicapped.
1066
+ <alt-text> is a short phrase description of
1067
+ an objects, <long-desc> is a more complete
1068
+ description of the content or intent of an
1069
+ object.
1070
+ -->
1071
+ <define name="access.class">
1072
+ <choice>
1073
+ <ref name="alt-text"/>
1074
+ <ref name="long-desc"/>
1075
+ </choice>
1076
+ </define>
1077
+ <!-- SMALL ACCESSIBILITY CLASS ELEMENTS -->
1078
+ <!--
1079
+ Elements added to make it easier to process
1080
+ journal articles in ways that are more
1081
+ accessible to people and devices with special
1082
+ needs, for example the visually handicapped.
1083
+ <alt-text> is a short phrase description of
1084
+ an objects. This class is for use when
1085
+ <long-desc> is just too much.
1086
+ -->
1087
+ <!-- CAPTION DISPLAY ELEMENTS -->
1088
+ <!-- Basic figure display elements -->
1089
+ <define name="caption.class">
1090
+ <ref name="caption"/>
1091
+ </define>
1092
+ <!-- DISPLAY ELEMENT BACK MATTER ELEMENTS -->
1093
+ <!--
1094
+ Miscellaneous stuff (such as photo credits or
1095
+ copyright statement) at the end of a display
1096
+ element such as a figure or a boxed text
1097
+ element such as a sidebar.
1098
+ -->
1099
+ <define name="display-back-matter.class">
1100
+ <choice>
1101
+ <ref name="attrib"/>
1102
+ <ref name="permissions"/>
1103
+ </choice>
1104
+ </define>
1105
+ <!-- ============================================================= -->
1106
+ <!-- DISPLAY ELEMENTS CLASSES -->
1107
+ <!-- ============================================================= -->
1108
+ <!-- DISPLAY CLASS ELEMENTS -->
1109
+ <!--
1110
+ Graphical or other image-related elements.
1111
+ The display elements may occur within
1112
+ the text of a table cell or paragraph
1113
+ although they are typically at the same
1114
+ hierarchical level as a paragraph.
1115
+ -->
1116
+ <define name="block-display.class">
1117
+ <choice>
1118
+ <ref name="address"/>
1119
+ <ref name="alternatives"/>
1120
+ <ref name="answer"/>
1121
+ <ref name="answer-set"/>
1122
+ <ref name="array"/>
1123
+ <ref name="block-alternatives"/>
1124
+ <ref name="boxed-text"/>
1125
+ <ref name="chem-struct-wrap"/>
1126
+ <ref name="code"/>
1127
+ <ref name="explanation"/>
1128
+ <ref name="fig"/>
1129
+ <ref name="fig-group"/>
1130
+ <ref name="graphic"/>
1131
+ <ref name="media"/>
1132
+ <ref name="preformat"/>
1133
+ <ref name="question"/>
1134
+ <ref name="question-wrap"/>
1135
+ <ref name="question-wrap-group"/>
1136
+ <ref name="supplementary-material"/>
1137
+ <ref name="table-wrap"/>
1138
+ <ref name="table-wrap-group"/>
1139
+ </choice>
1140
+ </define>
1141
+ <define name="block-display-noalt.class">
1142
+ <choice>
1143
+ <ref name="address"/>
1144
+ <ref name="answer"/>
1145
+ <ref name="answer-set"/>
1146
+ <ref name="array"/>
1147
+ <ref name="block-alternatives"/>
1148
+ <ref name="boxed-text"/>
1149
+ <ref name="chem-struct-wrap"/>
1150
+ <ref name="code"/>
1151
+ <ref name="explanation"/>
1152
+ <ref name="fig"/>
1153
+ <ref name="fig-group"/>
1154
+ <ref name="graphic"/>
1155
+ <ref name="media"/>
1156
+ <ref name="preformat"/>
1157
+ <ref name="question"/>
1158
+ <ref name="question-wrap"/>
1159
+ <ref name="question-wrap-group"/>
1160
+ <ref name="supplementary-material"/>
1161
+ <ref name="table-wrap"/>
1162
+ <ref name="table-wrap-group"/>
1163
+ </choice>
1164
+ </define>
1165
+ <!-- DISPLAY CLASS ELEMENTS MINUS EXPLANATION -->
1166
+ <!--
1167
+ The same as block-display.class without
1168
+ the explanation element, for use in
1169
+ <answer> and <option> elements.
1170
+ -->
1171
+ <define name="block-display-minus-explanation.class">
1172
+ <choice>
1173
+ <ref name="address"/>
1174
+ <ref name="alternatives"/>
1175
+ <ref name="answer"/>
1176
+ <ref name="answer-set"/>
1177
+ <ref name="array"/>
1178
+ <ref name="block-alternatives"/>
1179
+ <ref name="boxed-text"/>
1180
+ <ref name="chem-struct-wrap"/>
1181
+ <ref name="code"/>
1182
+ <ref name="fig"/>
1183
+ <ref name="fig-group"/>
1184
+ <ref name="graphic"/>
1185
+ <ref name="media"/>
1186
+ <ref name="preformat"/>
1187
+ <ref name="question"/>
1188
+ <ref name="question-wrap"/>
1189
+ <ref name="question-wrap-group"/>
1190
+ <ref name="supplementary-material"/>
1191
+ <ref name="table-wrap"/>
1192
+ <ref name="table-wrap-group"/>
1193
+ </choice>
1194
+ </define>
1195
+ <!-- FLOATING DISPLAY CLASS ELEMENTS -->
1196
+ <!--
1197
+ Block display elements that can take the
1198
+ position attribute, and thus may be floating
1199
+ as opposed to fixed in narrative position in
1200
+ an article. Created for use as the content
1201
+ of <floats-group>.
1202
+ -->
1203
+ <define name="floats-display.class">
1204
+ <choice>
1205
+ <ref name="alternatives"/>
1206
+ <ref name="block-alternatives"/>
1207
+ <ref name="boxed-text"/>
1208
+ <ref name="chem-struct-wrap"/>
1209
+ <ref name="code"/>
1210
+ <ref name="fig"/>
1211
+ <ref name="fig-group"/>
1212
+ <ref name="graphic"/>
1213
+ <ref name="media"/>
1214
+ <ref name="preformat"/>
1215
+ <ref name="supplementary-material"/>
1216
+ <ref name="table-wrap"/>
1217
+ <ref name="table-wrap-group"/>
1218
+ </choice>
1219
+ </define>
1220
+ <!-- BLOCK ALTERNATIVES CLASS ELEMENTS -->
1221
+ <!--
1222
+ Block display elements that can take the
1223
+ be used inside the <block-alternatives>
1224
+ element.
1225
+ -->
1226
+ <define name="block-alternatives.class">
1227
+ <choice>
1228
+ <ref name="boxed-text"/>
1229
+ <ref name="fig"/>
1230
+ <ref name="fig-group"/>
1231
+ <ref name="table-wrap"/>
1232
+ <ref name="table-wrap-group"/>
1233
+ </choice>
1234
+ </define>
1235
+ <!-- FIGURE DISPLAY ELEMENTS -->
1236
+ <!-- Basic figure display elements -->
1237
+ <define name="fig-display.class">
1238
+ <choice>
1239
+ <ref name="fig"/>
1240
+ <ref name="block-alternatives"/>
1241
+ </choice>
1242
+ </define>
1243
+ <!-- INLINE DISPLAY CLASS ELEMENTS -->
1244
+ <!--
1245
+ Non-block display elements that set or
1246
+ display inline with the text
1247
+ -->
1248
+ <define name="inline-display.class">
1249
+ <choice>
1250
+ <ref name="alternatives"/>
1251
+ <ref name="inline-graphic"/>
1252
+ <ref name="inline-media"/>
1253
+ <ref name="private-char"/>
1254
+ </choice>
1255
+ </define>
1256
+ <define name="inline-display-noalt.class">
1257
+ <choice>
1258
+ <ref name="inline-graphic"/>
1259
+ <ref name="inline-media"/>
1260
+ <ref name="private-char"/>
1261
+ </choice>
1262
+ </define>
1263
+ <!-- MOST BASIC DISPLAY ELEMENTS -->
1264
+ <!--
1265
+ Just the few display elements that are
1266
+ simple display objects: a picture, a movie,
1267
+ a sound file.
1268
+ -->
1269
+ <define name="just-base-display.class">
1270
+ <choice>
1271
+ <ref name="alternatives"/>
1272
+ <ref name="graphic"/>
1273
+ <ref name="media"/>
1274
+ </choice>
1275
+ </define>
1276
+ <define name="just-base-display-noalt.class">
1277
+ <choice>
1278
+ <ref name="graphic"/>
1279
+ <ref name="media"/>
1280
+ </choice>
1281
+ </define>
1282
+ <!-- SIMPLE DISPLAY ELEMENTS -->
1283
+ <!--
1284
+ The simplest and most basic of the Display
1285
+ Class elements, which may be allowed in many
1286
+ places, for example, inside other Display
1287
+ Class elements or inside the cell of a
1288
+ Table
1289
+ -->
1290
+ <define name="simple-display.class">
1291
+ <choice>
1292
+ <ref name="alternatives"/>
1293
+ <ref name="array"/>
1294
+ <ref name="code"/>
1295
+ <ref name="graphic"/>
1296
+ <ref name="media"/>
1297
+ <ref name="preformat"/>
1298
+ </choice>
1299
+ </define>
1300
+ <define name="simple-display-noalt.class">
1301
+ <choice>
1302
+ <ref name="array"/>
1303
+ <ref name="code"/>
1304
+ <ref name="graphic"/>
1305
+ <ref name="media"/>
1306
+ <ref name="preformat"/>
1307
+ </choice>
1308
+ </define>
1309
+ <!-- SIMPLE TABLE DISPLAY ELEMENTS -->
1310
+ <!--
1311
+ Very similar to the simple-display.class, but
1312
+ Table Wrappers <table-wrap> should contain
1313
+ <table>s, <oasis:table>s, etc., not
1314
+ arrays.
1315
+ -->
1316
+ <define name="simple-intable-display.class">
1317
+ <choice>
1318
+ <ref name="alternatives"/>
1319
+ <ref name="chem-struct-wrap"/>
1320
+ <ref name="code"/>
1321
+ <ref name="disp-formula"/>
1322
+ <ref name="graphic"/>
1323
+ <ref name="media"/>
1324
+ <ref name="preformat"/>
1325
+ </choice>
1326
+ </define>
1327
+ <!-- INSIDE CHEMICAL STRUCTURE ELEMENTS -->
1328
+ <!--
1329
+ Very similar to the simple-display.class, but
1330
+ for use inside <chem-struct-wrap>, so it
1331
+ can contain both <chem-struct> and
1332
+ <textual-form>
1333
+ -->
1334
+ <define name="inside-chem-struct-wrap.class">
1335
+ <choice>
1336
+ <ref name="alternatives"/>
1337
+ <ref name="chem-struct"/>
1338
+ <ref name="code"/>
1339
+ <ref name="graphic"/>
1340
+ <ref name="media"/>
1341
+ <ref name="preformat"/>
1342
+ <ref name="textual-form"/>
1343
+ </choice>
1344
+ </define>
1345
+ <!-- ALTERNATIVES DISPLAY CLASS ELEMENTS -->
1346
+ <!--
1347
+ Display elements that can be alternatives to
1348
+ each other inside an alternatives element.
1349
+ -->
1350
+ <define name="alternatives-display.class">
1351
+ <choice>
1352
+ <ref name="array"/>
1353
+ <ref name="chem-struct"/>
1354
+ <ref name="code"/>
1355
+ <ref name="graphic"/>
1356
+ <ref name="inline-graphic"/>
1357
+ <ref name="inline-media"/>
1358
+ <ref name="inline-supplementary-material"/>
1359
+ <ref name="media"/>
1360
+ <ref name="preformat"/>
1361
+ <ref name="private-char"/>
1362
+ <ref name="supplementary-material"/>
1363
+ <ref name="table"/>
1364
+ <ref name="textual-form"/>
1365
+ </choice>
1366
+ </define>
1367
+ <!-- ============================================================= -->
1368
+ <!-- QUESTION AND ANSWER CLASSES -->
1369
+ <!-- ============================================================= -->
1370
+ <!-- QUESTION AND ANSWER CLASS -->
1371
+ <!--
1372
+ Questions and answers (also in block display
1373
+ class, for use in other places).
1374
+ -->
1375
+ <define name="question-answer.class">
1376
+ <choice>
1377
+ <ref name="answer"/>
1378
+ <ref name="answer-set"/>
1379
+ <ref name="explanation"/>
1380
+ <ref name="question"/>
1381
+ <ref name="question-wrap"/>
1382
+ <ref name="question-wrap-group"/>
1383
+ </choice>
1384
+ </define>
1385
+ <!-- QUESTION WRAP CLASS -->
1386
+ <!--
1387
+ Class to hold just the element
1388
+ <question-wrap> for use in models.
1389
+ -->
1390
+ <define name="question-wrap.class">
1391
+ <ref name="question-wrap"/>
1392
+ </define>
1393
+ <!-- OPTION-ONLY CLASS -->
1394
+ <!--
1395
+ Holds the <option> element, for use in
1396
+ content models.
1397
+ -->
1398
+ <define name="option.class">
1399
+ <ref name="option"/>
1400
+ </define>
1401
+ <!-- ============================================================= -->
1402
+ <!-- MATH CLASSES (%math.ent;) -->
1403
+ <!-- ============================================================= -->
1404
+ <!--
1405
+ MATHEMATICAL EXPRESSIONS AND FORMULAE
1406
+ CLASS ELEMENTS
1407
+ -->
1408
+ <define name="block-math.class">
1409
+ <choice>
1410
+ <ref name="disp-formula"/>
1411
+ <ref name="disp-formula-group"/>
1412
+ </choice>
1413
+ </define>
1414
+ <!-- CHEMICAL STRUCTURE WRAPPER CLASS -->
1415
+ <define name="chem-struct-wrap.class">
1416
+ <ref name="chem-struct-wrap"/>
1417
+ </define>
1418
+ <!--
1419
+ INLINE MATHEMATICAL EXPRESSIONS MIX CLASS
1420
+ ELEMENTS
1421
+ -->
1422
+ <define name="inline-math.class">
1423
+ <choice>
1424
+ <ref name="chem-struct"/>
1425
+ <ref name="inline-formula"/>
1426
+ </choice>
1427
+ </define>
1428
+ <!-- MATHEMATICAL EXPRESSIONS CLASS ELEMENTS -->
1429
+ <define name="math.class">
1430
+ <choice>
1431
+ <ref name="tex-math"/>
1432
+ <ref name="mml.math"/>
1433
+ </choice>
1434
+ </define>
1435
+ <!-- SIMPLE MATHML CLASS -->
1436
+ <!-- ============================================================= -->
1437
+ <!-- FORMAT CLASSES (%format.ent;) -->
1438
+ <!-- ============================================================= -->
1439
+ <!-- APPEARANCE CLASS ELEMENTS -->
1440
+ <!--
1441
+ Names those elements (inherited from the
1442
+ XHTML table DTD that are only concerned with
1443
+ appearance, not with structure or content.
1444
+ Use of these elements is to be discouraged.
1445
+ -->
1446
+ <define name="appearance.class">
1447
+ <ref name="hr"/>
1448
+ </define>
1449
+ <!-- FORCED BREAK FORMATTING CLASS ELEMENTS -->
1450
+ <!--
1451
+ Element to force a formatting break such as
1452
+ a line break
1453
+ -->
1454
+ <define name="break.class">
1455
+ <ref name="break"/>
1456
+ </define>
1457
+ <!-- EMPHASIS/RENDITION ELEMENTS -->
1458
+ <!--
1459
+ Elements concerning with marking the location
1460
+ of typographical emphasis (highlighting)
1461
+ DTD Design Note: There are no emphasis
1462
+ elements for <fractur>, <openface> (black
1463
+ board), <script>, etc. because this DTD
1464
+ recommends the use of the STIX extensions
1465
+ to accomplish this, as soon as they are
1466
+ available.
1467
+ -->
1468
+ <define name="emphasis.class">
1469
+ <choice>
1470
+ <ref name="bold"/>
1471
+ <ref name="fixed-case"/>
1472
+ <ref name="italic"/>
1473
+ <ref name="monospace"/>
1474
+ <ref name="overline"/>
1475
+ <ref name="overline-start"/>
1476
+ <ref name="overline-end"/>
1477
+ <ref name="roman"/>
1478
+ <ref name="sans-serif"/>
1479
+ <ref name="sc"/>
1480
+ <ref name="strike"/>
1481
+ <ref name="underline"/>
1482
+ <ref name="underline-start"/>
1483
+ <ref name="underline-end"/>
1484
+ <ref name="ruby"/>
1485
+ </choice>
1486
+ </define>
1487
+ <!-- FACE MARKUP ELEMENTS -->
1488
+ <!--
1489
+ All of the emphasis/rendition elements
1490
+ except <ruby>, for use (initially) inside
1491
+ <ruby> itself.
1492
+ -->
1493
+ <define name="face-markup.class">
1494
+ <choice>
1495
+ <ref name="bold"/>
1496
+ <ref name="fixed-case"/>
1497
+ <ref name="italic"/>
1498
+ <ref name="monospace"/>
1499
+ <ref name="overline"/>
1500
+ <ref name="overline-start"/>
1501
+ <ref name="overline-end"/>
1502
+ <ref name="roman"/>
1503
+ <ref name="sans-serif"/>
1504
+ <ref name="sc"/>
1505
+ <ref name="strike"/>
1506
+ <ref name="underline"/>
1507
+ <ref name="underline-start"/>
1508
+ <ref name="underline-end"/>
1509
+ </choice>
1510
+ </define>
1511
+ <!-- UP/DOWN RENDITION ELEMENTS -->
1512
+ <define name="subsup.class">
1513
+ <choice>
1514
+ <ref name="sub"/>
1515
+ <ref name="sup"/>
1516
+ </choice>
1517
+ </define>
1518
+ <!-- ============================================================= -->
1519
+ <!-- LINK CLASSES (%link.ent;) -->
1520
+ <!-- ============================================================= -->
1521
+ <!-- ADDRESS LINK CLASS ELEMENTS -->
1522
+ <!--
1523
+ Link elements that can be used inside
1524
+ addresses. This is essentially the three
1525
+ generic external links.
1526
+ (Note: in earlier releases, this Parameter
1527
+ Entity was named %address-elements;,
1528
+ although it functioned as a class.)
1529
+ -->
1530
+ <define name="address-link.class">
1531
+ <choice>
1532
+ <ref name="email"/>
1533
+ <ref name="ext-link"/>
1534
+ <ref name="uri"/>
1535
+ </choice>
1536
+ </define>
1537
+ <!-- SIMPLE LINKS/CROSS-REFERENCES CLASS -->
1538
+ <!--
1539
+ The smaller and simpler linking elements
1540
+ that might be inside, for example, a
1541
+ Keyword <kwd>
1542
+ -->
1543
+ <define name="simple-link.class">
1544
+ <choice>
1545
+ <ref name="fn"/>
1546
+ <ref name="target"/>
1547
+ <ref name="xref"/>
1548
+ </choice>
1549
+ </define>
1550
+ <!-- CROSS-REFERENCES CLASS -->
1551
+ <!-- A class just to hold <xref>. -->
1552
+ <define name="xref.class">
1553
+ <ref name="xref"/>
1554
+ </define>
1555
+ <!-- ============================================================= -->
1556
+ <!-- FOOTNOTE CLASSES (%link.ent;) -->
1557
+ <!-- ============================================================= -->
1558
+ <!-- FOOTNOTE LINKS CLASS -->
1559
+ <!-- Only the most basic, internal links -->
1560
+ <define name="fn-link.class">
1561
+ <ref name="fn"/>
1562
+ </define>
1563
+ <!-- FOOTNOTE GROUP CLASS -->
1564
+ <!-- Collections of footnotes -->
1565
+ <define name="fn-group.class">
1566
+ <ref name="fn-group"/>
1567
+ </define>
1568
+ <!-- ============================================================= -->
1569
+ <!-- RELATED-OBJECT CLASSES -->
1570
+ <!-- ============================================================= -->
1571
+ <!-- JOURNAL ARTICLE LINK CLASS ELEMENTS -->
1572
+ <!--
1573
+ Links used inside journal articles, to point
1574
+ to related material
1575
+ -->
1576
+ <define name="article-link.class">
1577
+ <choice>
1578
+ <ref name="inline-supplementary-material"/>
1579
+ <ref name="related-article"/>
1580
+ <ref name="related-object"/>
1581
+ </choice>
1582
+ </define>
1583
+ <!-- RELATED ARTICLE LINKS CLASS -->
1584
+ <!--
1585
+ For using <related-article> at the paragraph
1586
+ level
1587
+ -->
1588
+ <define name="related-article.class">
1589
+ <choice>
1590
+ <ref name="related-article"/>
1591
+ <ref name="related-object"/>
1592
+ </choice>
1593
+ </define>
1594
+ <!-- ============================================================= -->
1595
+ <!-- LIST CLASSES (%list.ent;) -->
1596
+ <!-- ============================================================= -->
1597
+ <!-- DEFINITION LIST CLASS ELEMENT -->
1598
+ <!--
1599
+ Class for the <list-item>, so it may be used
1600
+ in OR groups.
1601
+ -->
1602
+ <define name="def-list.class">
1603
+ <ref name="def-list"/>
1604
+ </define>
1605
+ <!-- DEFINITION LIST ITEM CLASS ELEMENT -->
1606
+ <!--
1607
+ Class for the <list-item>, so it may be used
1608
+ in OR groups.
1609
+ -->
1610
+ <define name="def-item.class">
1611
+ <ref name="def-item"/>
1612
+ </define>
1613
+ <!-- LIST CLASS ELEMENTS -->
1614
+ <!--
1615
+ All the types of lists that may occur
1616
+ as part of the text, therefore excluding
1617
+ Bibliographic Reference Lists <ref-list>
1618
+ -->
1619
+ <define name="list.class">
1620
+ <choice>
1621
+ <ref name="def-list"/>
1622
+ <ref name="list"/>
1623
+ </choice>
1624
+ </define>
1625
+ <!-- LIST ITEM CLASS ELEMENT -->
1626
+ <!--
1627
+ Class for the <list-item>, so it may be used
1628
+ in OR groups.
1629
+ -->
1630
+ <define name="list-item.class">
1631
+ <ref name="list-item"/>
1632
+ </define>
1633
+ <!-- ============================================================= -->
1634
+ <!-- PARAGRAPH CLASSES (%para.ent;) -->
1635
+ <!-- ============================================================= -->
1636
+ <!-- REST OF PARAGRAPH CLASS -->
1637
+ <!--
1638
+ Information for the reader that is at the
1639
+ same structural level as a Paragraph.
1640
+ Contains all paragraph-level objects that are
1641
+ not also used inside tables and excepting
1642
+ also the paragraph element itself
1643
+ -->
1644
+ <define name="rest-of-para.class">
1645
+ <choice>
1646
+ <ref name="ack"/>
1647
+ <ref name="disp-quote"/>
1648
+ <ref name="speech"/>
1649
+ <ref name="statement"/>
1650
+ <ref name="verse-group"/>
1651
+ </choice>
1652
+ </define>
1653
+ <!-- IN TABLE PARAGRAPH CLASS -->
1654
+ <!--
1655
+ The simpler of the paragraph-level elements
1656
+ that might be found inside a table cell or
1657
+ as alternatives to a <table> inside
1658
+ <table-wrap>.
1659
+ -->
1660
+ <define name="intable-para.class">
1661
+ <choice>
1662
+ <ref name="disp-quote"/>
1663
+ <ref name="speech"/>
1664
+ <ref name="statement"/>
1665
+ <ref name="verse-group"/>
1666
+ </choice>
1667
+ </define>
1668
+ <!-- JUST PARAGRAPH CLASS -->
1669
+ <!--
1670
+ Set by default to hold the just the Paragraph
1671
+ element, alone. This parameter entity may
1672
+ be redefined by a customization to name any
1673
+ element(s) that the Tag Set wishes to be
1674
+ able to use anywhere within textual elements
1675
+ that a paragraph may occur. Such elements
1676
+ would also need to be added to the PE
1677
+ %block-display.class; and to some individual
1678
+ element PEs.
1679
+ -->
1680
+ <define name="just-para.class">
1681
+ <ref name="p"/>
1682
+ </define>
1683
+ <!-- NOTHING BUT PARAGRAPH CLASS -->
1684
+ <!--
1685
+ To hold the paragraph element <p>, alone.
1686
+ This parameter entity should be left
1687
+ untouched by any customization
1688
+ -->
1689
+ <define name="nothing-but-para.class">
1690
+ <ref name="p"/>
1691
+ </define>
1692
+ <!-- STATEMENT CLASS -->
1693
+ <!--
1694
+ To hold the paragraph element <statement>,
1695
+ alone.
1696
+ -->
1697
+ <define name="statement.class">
1698
+ <ref name="statement"/>
1699
+ </define>
1700
+ <!-- ============================================================= -->
1701
+ <!-- PHRASE CLASSES (%phrase.ent;) -->
1702
+ <!-- ============================================================= -->
1703
+ <!-- ABBREVIATION CLASS ELEMENTS -->
1704
+ <!--
1705
+ The element <abbrev>, so it can be added
1706
+ to title elements without adding milestones.
1707
+ -->
1708
+ <define name="abbrev.class">
1709
+ <ref name="abbrev"/>
1710
+ </define>
1711
+ <!-- FUNDING CLASS ELEMENTS -->
1712
+ <!--
1713
+ Small inline elements, that surround a word
1714
+ or phrase in the text to identify pieces of
1715
+ funding metadata. where such material is not
1716
+ pulled out separately but just mixed into
1717
+ text as phrases or sentences within a
1718
+ paragraph. These elements may be used to mark,
1719
+ for example, the <award-id> (such as a grant
1720
+ number or contract number) or the
1721
+ <funding-source> such as the sponsoring
1722
+ organization or trust that awarded the grant.
1723
+ -->
1724
+ <define name="funding.class">
1725
+ <choice>
1726
+ <ref name="award-id"/>
1727
+ <ref name="funding-source"/>
1728
+ <ref name="open-access"/>
1729
+ </choice>
1730
+ </define>
1731
+ <!-- PHRASE CLASS ELEMENTS -->
1732
+ <!--
1733
+ Small inline elements, that surround a word
1734
+ or phrase in the text because the subject
1735
+ (content) should be identified as something
1736
+ special or different
1737
+ -->
1738
+ <define name="phrase.class">
1739
+ <choice>
1740
+ <ref name="abbrev"/>
1741
+ <ref name="index-term"/>
1742
+ <ref name="index-term-range-end"/>
1743
+ <ref name="milestone-end"/>
1744
+ <ref name="milestone-start"/>
1745
+ <ref name="named-content"/>
1746
+ <ref name="styled-content"/>
1747
+ </choice>
1748
+ </define>
1749
+ <!-- STYLED CONTENT CLASS ELEMENTS -->
1750
+ <!--
1751
+ The <styled-content> element alone, so it
1752
+ can be used in places where emphasis is used.
1753
+ -->
1754
+ <!-- PHRASE CONTENT CLASS ELEMENTS -->
1755
+ <!--
1756
+ Small inline elements, that surround a word
1757
+ or phrase in the text because the subject
1758
+ (content) should be identified as something
1759
+ special or different. This class in is
1760
+ intended to be a subset of the Phrase Class,
1761
+ for use in restricted situations, such as
1762
+ within metadata paragraphs, to record
1763
+ publisher-identified semantic or usage
1764
+ material.
1765
+ -->
1766
+ <define name="phrase-content.class">
1767
+ <choice>
1768
+ <ref name="named-content"/>
1769
+ <ref name="styled-content"/>
1770
+ </choice>
1771
+ </define>
1772
+ <!-- PRICE CLASS ELEMENTS -->
1773
+ <!--
1774
+ Created to hold the <price> element so that
1775
+ it can be selectively added to elements,
1776
+ initially to <product>.
1777
+ -->
1778
+ <define name="price.class">
1779
+ <ref name="price"/>
1780
+ </define>
1781
+ <!-- PRODUCT ELEMENTS -->
1782
+ <!--
1783
+ Created to hold the <product> element so that
1784
+ it can be selectively added to elements,
1785
+ initially to <note>.
1786
+ -->
1787
+ <define name="product.class">
1788
+ <ref name="product"/>
1789
+ </define>
1790
+ <!-- ============================================================= -->
1791
+ <!-- REFERENCES CLASSES (references.ent) -->
1792
+ <!-- ============================================================= -->
1793
+ <!-- BIBLIOGRAPHIC REFERENCE (CITATION) CLASS -->
1794
+ <!--
1795
+ The elements that may be included inside a
1796
+ citation (bibliographic reference), either
1797
+ in an all-element-content (<element-citation>)
1798
+ or in a mixed-content citation
1799
+ (<mixed-citation>).
1800
+ -->
1801
+ <define name="references.class">
1802
+ <choice>
1803
+ <ref name="annotation"/>
1804
+ <ref name="article-title"/>
1805
+ <ref name="chapter-title"/>
1806
+ <ref name="collab"/>
1807
+ <ref name="collab-alternatives"/>
1808
+ <ref name="comment"/>
1809
+ <ref name="conf-acronym"/>
1810
+ <ref name="conf-date"/>
1811
+ <ref name="conf-loc"/>
1812
+ <ref name="conf-name"/>
1813
+ <ref name="conf-sponsor"/>
1814
+ <ref name="data-title"/>
1815
+ <ref name="date"/>
1816
+ <ref name="date-in-citation"/>
1817
+ <ref name="day"/>
1818
+ <ref name="edition"/>
1819
+ <ref name="email"/>
1820
+ <ref name="elocation-id"/>
1821
+ <ref name="etal"/>
1822
+ <ref name="ext-link"/>
1823
+ <ref name="fpage"/>
1824
+ <ref name="gov"/>
1825
+ <ref name="institution"/>
1826
+ <ref name="institution-wrap"/>
1827
+ <ref name="isbn"/>
1828
+ <ref name="issn"/>
1829
+ <ref name="issn-l"/>
1830
+ <ref name="issue"/>
1831
+ <ref name="issue-id"/>
1832
+ <ref name="issue-part"/>
1833
+ <ref name="issue-title"/>
1834
+ <ref name="lpage"/>
1835
+ <ref name="month"/>
1836
+ <ref name="name"/>
1837
+ <ref name="name-alternatives"/>
1838
+ <ref name="object-id"/>
1839
+ <ref name="page-range"/>
1840
+ <ref name="part-title"/>
1841
+ <ref name="patent"/>
1842
+ <ref name="person-group"/>
1843
+ <ref name="pub-id"/>
1844
+ <ref name="publisher-loc"/>
1845
+ <ref name="publisher-name"/>
1846
+ <ref name="role"/>
1847
+ <ref name="season"/>
1848
+ <ref name="series"/>
1849
+ <ref name="size"/>
1850
+ <ref name="source"/>
1851
+ <ref name="std"/>
1852
+ <ref name="string-date"/>
1853
+ <ref name="string-name"/>
1854
+ <ref name="supplement"/>
1855
+ <ref name="trans-source"/>
1856
+ <ref name="trans-title"/>
1857
+ <ref name="uri"/>
1858
+ <ref name="version"/>
1859
+ <ref name="volume"/>
1860
+ <ref name="volume-id"/>
1861
+ <ref name="volume-series"/>
1862
+ <ref name="year"/>
1863
+ </choice>
1864
+ </define>
1865
+ <!-- JUST REFERENCE-LIST CLASS -->
1866
+ <!--
1867
+ The reference list and only the reference
1868
+ list
1869
+ -->
1870
+ <define name="ref-list.class">
1871
+ <ref name="ref-list"/>
1872
+ </define>
1873
+ <!-- STANDARDS CLASS -->
1874
+ <!--
1875
+ The elements that can be used in the mixed
1876
+ content model of a <std>, which is a
1877
+ cited standard inside a citation:
1878
+ source contains the name of the standard
1879
+ pub-id contains the standard designator
1880
+ date elements name the official date
1881
+ std-organization names the standards body
1882
+ named-content takes anything else a
1883
+ publisher/archive needs (come in
1884
+ from %rendition-plus.
1885
+ -->
1886
+ <define name="std.class">
1887
+ <choice>
1888
+ <ref name="day"/>
1889
+ <ref name="month"/>
1890
+ <ref name="pub-id"/>
1891
+ <ref name="source"/>
1892
+ <ref name="std-organization"/>
1893
+ <ref name="year"/>
1894
+ </choice>
1895
+ </define>
1896
+ <!-- JUST REFERENCE CLASS -->
1897
+ <!-- The element <ref> for use in models. -->
1898
+ <define name="ref.class">
1899
+ <ref name="ref"/>
1900
+ </define>
1901
+ <!-- ============================================================= -->
1902
+ <!-- SECTION CLASS (%section.ent;) -->
1903
+ <!-- ============================================================= -->
1904
+ <!-- SECTION CLASS ELEMENTS -->
1905
+ <!--
1906
+ Information for the reader that is at the
1907
+ same structural level as a Section, which is
1908
+ a headed structure full of smaller elements
1909
+ such as paragraphs.
1910
+ -->
1911
+ <define name="sec.class">
1912
+ <ref name="sec"/>
1913
+ </define>
1914
+ <!-- ============================================================= -->
1915
+ <!-- TABLE MODEL CLASSES -->
1916
+ <!-- ============================================================= -->
1917
+ <!-- JUST TABLE CLASS -->
1918
+ <!--
1919
+ To include just a table <table-wrap>
1920
+ element
1921
+ -->
1922
+ <define name="just-table.class">
1923
+ <ref name="table-wrap"/>
1924
+ </define>
1925
+ <!-- TABLE CLASS ELEMENTS -->
1926
+ <!--
1927
+ Elements that will be used to contain the
1928
+ rows and columns inside the Table Wrapper
1929
+ element <table-wrap>. The following elements
1930
+ can be set up for inclusion:
1931
+ XHTML Table Model table
1932
+ -->
1933
+ <define name="table.class">
1934
+ <ref name="table"/>
1935
+ </define>
1936
+ <!-- TABLE FOOT CLASS -->
1937
+ <!--
1938
+ Elements to include at the end of a table
1939
+ in the table.
1940
+ -->
1941
+ <define name="table-foot.class">
1942
+ <ref name="table-wrap-foot"/>
1943
+ </define>
1944
+ <!-- TABLE BODY CLASS -->
1945
+ <!--
1946
+ To include just a table <table-wrap>
1947
+ element
1948
+ -->
1949
+ <define name="tbody.class">
1950
+ <ref name="tbody"/>
1951
+ </define>
1952
+ </grammar>
1953
+ <!-- ================== End Journal Suite Default Classes ======= -->