@manuscripts/transform 4.3.52 → 4.4.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 (175) hide show
  1. package/dist/cjs/jats/__tests__/jats-roundtrip.test.js +3 -3
  2. package/dist/cjs/schema/types.js +18 -0
  3. package/dist/cjs/version.js +1 -1
  4. package/dist/es/jats/__tests__/jats-roundtrip.test.js +3 -3
  5. package/dist/es/schema/types.js +17 -0
  6. package/dist/es/version.js +1 -1
  7. package/dist/types/jats/__tests__/utils.d.ts +1 -1
  8. package/dist/types/schema/types.d.ts +16 -0
  9. package/dist/types/version.d.ts +1 -1
  10. package/package.json +22 -21
  11. package/src/errors.ts +28 -0
  12. package/src/getVersion.ts +21 -0
  13. package/src/index.ts +28 -0
  14. package/src/jats/__tests__/__fixtures__/debug-example.xml +136 -0
  15. package/src/jats/__tests__/__fixtures__/jats-abstract-no-body.xml +163 -0
  16. package/src/jats/__tests__/__fixtures__/jats-citations.xml +472 -0
  17. package/src/jats/__tests__/__fixtures__/jats-comments.xml +46 -0
  18. package/src/jats/__tests__/__fixtures__/jats-document.xml +134 -0
  19. package/src/jats/__tests__/__fixtures__/jats-example-doc.xml +1235 -0
  20. package/src/jats/__tests__/__fixtures__/jats-example-front-only.xml +26 -0
  21. package/src/jats/__tests__/__fixtures__/jats-example-full.xml +209 -0
  22. package/src/jats/__tests__/__fixtures__/jats-example-no-back.xml +156 -0
  23. package/src/jats/__tests__/__fixtures__/jats-example-no-body.xml +91 -0
  24. package/src/jats/__tests__/__fixtures__/jats-example.xml +221 -0
  25. package/src/jats/__tests__/__fixtures__/jats-fn-group.xml +60 -0
  26. package/src/jats/__tests__/__fixtures__/jats-import-no-refs.xml +1077 -0
  27. package/src/jats/__tests__/__fixtures__/jats-import.xml +1561 -0
  28. package/src/jats/__tests__/__fixtures__/jats-roundtrip.xml +133 -0
  29. package/src/jats/__tests__/__fixtures__/jats-tables-example.xml +2043 -0
  30. package/src/jats/__tests__/__fixtures__/math-fragment.xml +12 -0
  31. package/src/jats/__tests__/__snapshots__/citeproc.test.ts.snap +57 -0
  32. package/src/jats/__tests__/__snapshots__/create-article-node.test.ts.snap +65 -0
  33. package/src/jats/__tests__/__snapshots__/jats-exporter.test.ts.snap +7 -0
  34. package/src/jats/__tests__/__snapshots__/jats-importer.test.ts.snap +59605 -0
  35. package/src/jats/__tests__/__snapshots__/jats-roundtrip.test.ts.snap +18 -0
  36. package/src/jats/__tests__/citations.ts +25 -0
  37. package/src/jats/__tests__/citeproc.test.ts +195 -0
  38. package/src/jats/__tests__/create-article-node.test.ts +29 -0
  39. package/src/jats/__tests__/data/section-categories.ts +212 -0
  40. package/src/jats/__tests__/files.ts +24 -0
  41. package/src/jats/__tests__/jats-exporter.test.ts +223 -0
  42. package/src/jats/__tests__/jats-importer.test.ts +567 -0
  43. package/src/jats/__tests__/jats-roundtrip.test.ts +66 -0
  44. package/src/jats/__tests__/utils.ts +90 -0
  45. package/src/jats/exporter/citeproc.ts +265 -0
  46. package/src/jats/exporter/jats-exporter.ts +2090 -0
  47. package/src/jats/exporter/jats-versions.ts +50 -0
  48. package/src/jats/exporter/labels.ts +101 -0
  49. package/src/jats/importer/create-article-node.ts +52 -0
  50. package/src/jats/importer/jats-comments.ts +111 -0
  51. package/src/jats/importer/jats-dom-parser.ts +1260 -0
  52. package/src/jats/importer/jats-parser-utils.ts +234 -0
  53. package/src/jats/importer/jats-transformations.ts +591 -0
  54. package/src/jats/importer/parse-jats-article.ts +106 -0
  55. package/src/jats/index.ts +21 -0
  56. package/src/jats/types.ts +16 -0
  57. package/src/lib/__tests__/footnotes.test.ts +36 -0
  58. package/src/lib/citeproc.ts +30 -0
  59. package/src/lib/credit-roles.ts +91 -0
  60. package/src/lib/deafults.ts +17 -0
  61. package/src/lib/footnotes.ts +85 -0
  62. package/src/lib/html.ts +56 -0
  63. package/src/lib/section-categories.ts +27 -0
  64. package/src/lib/utils.ts +145 -0
  65. package/src/lib/xml.ts +28 -0
  66. package/src/schema/__tests__/docs.ts +1911 -0
  67. package/src/schema/__tests__/groups.test.ts +61 -0
  68. package/src/schema/__tests__/migration.test.ts +23 -0
  69. package/src/schema/groups.ts +36 -0
  70. package/src/schema/index.ts +286 -0
  71. package/src/schema/marks.ts +254 -0
  72. package/src/schema/migration/migrate.ts +77 -0
  73. package/src/schema/migration/migration-script.ts +26 -0
  74. package/src/schema/migration/migration-scripts/1.2.5.ts +44 -0
  75. package/src/schema/migration/migration-scripts/2.3.22.ts +52 -0
  76. package/src/schema/migration/migration-scripts/3.0.12.ts +33 -0
  77. package/src/schema/migration/migration-scripts/3.0.21.ts +50 -0
  78. package/src/schema/migration/migration-scripts/3.0.30.ts +65 -0
  79. package/src/schema/migration/migration-scripts/3.0.31.ts +40 -0
  80. package/src/schema/migration/migration-scripts/3.0.41.ts +37 -0
  81. package/src/schema/migration/migration-scripts/3.0.55.ts +42 -0
  82. package/src/schema/migration/migration-scripts/3.0.56.ts +114 -0
  83. package/src/schema/migration/migration-scripts/4.2.13.ts +37 -0
  84. package/src/schema/migration/migration-scripts/4.2.15.ts +48 -0
  85. package/src/schema/migration/migration-scripts/4.3.23.ts +55 -0
  86. package/src/schema/migration/migration-scripts/4.3.34.ts +132 -0
  87. package/src/schema/migration/migration-scripts/4.3.35.ts +41 -0
  88. package/src/schema/migration/migration-scripts/index.ts +49 -0
  89. package/src/schema/nodes/abstracts.ts +29 -0
  90. package/src/schema/nodes/affiliation.ts +88 -0
  91. package/src/schema/nodes/affiliations.ts +30 -0
  92. package/src/schema/nodes/alt_text.ts +36 -0
  93. package/src/schema/nodes/alt_title.ts +40 -0
  94. package/src/schema/nodes/alt_titles_section.ts +58 -0
  95. package/src/schema/nodes/attachment.ts +46 -0
  96. package/src/schema/nodes/attachments.ts +45 -0
  97. package/src/schema/nodes/attribution.ts +38 -0
  98. package/src/schema/nodes/author_notes.ts +44 -0
  99. package/src/schema/nodes/award.ts +52 -0
  100. package/src/schema/nodes/awards.ts +45 -0
  101. package/src/schema/nodes/backmatter.ts +31 -0
  102. package/src/schema/nodes/bibliography_element.ts +58 -0
  103. package/src/schema/nodes/bibliography_item.ts +108 -0
  104. package/src/schema/nodes/bibliography_section.ts +60 -0
  105. package/src/schema/nodes/blockquote_element.ts +79 -0
  106. package/src/schema/nodes/body.ts +29 -0
  107. package/src/schema/nodes/box_element.ts +67 -0
  108. package/src/schema/nodes/caption.ts +67 -0
  109. package/src/schema/nodes/caption_title.ts +67 -0
  110. package/src/schema/nodes/citation.ts +70 -0
  111. package/src/schema/nodes/comment.ts +50 -0
  112. package/src/schema/nodes/comments.ts +28 -0
  113. package/src/schema/nodes/contributor.ts +87 -0
  114. package/src/schema/nodes/contributors.ts +40 -0
  115. package/src/schema/nodes/core_section.ts +27 -0
  116. package/src/schema/nodes/corresp.ts +49 -0
  117. package/src/schema/nodes/cross_reference.ts +64 -0
  118. package/src/schema/nodes/doc.ts +21 -0
  119. package/src/schema/nodes/embed.ts +55 -0
  120. package/src/schema/nodes/equation.ts +65 -0
  121. package/src/schema/nodes/equation_element.ts +61 -0
  122. package/src/schema/nodes/figure.ts +65 -0
  123. package/src/schema/nodes/figure_element.ts +73 -0
  124. package/src/schema/nodes/footnote.ts +95 -0
  125. package/src/schema/nodes/footnotes_element.ts +69 -0
  126. package/src/schema/nodes/footnotes_section.ts +61 -0
  127. package/src/schema/nodes/general_table_footnote.ts +42 -0
  128. package/src/schema/nodes/graphical_abstract_section.ts +62 -0
  129. package/src/schema/nodes/hard_break.ts +36 -0
  130. package/src/schema/nodes/hero_image.ts +46 -0
  131. package/src/schema/nodes/highlight_marker.ts +68 -0
  132. package/src/schema/nodes/image_element.ts +49 -0
  133. package/src/schema/nodes/inline_equation.ts +68 -0
  134. package/src/schema/nodes/inline_footnote.ts +66 -0
  135. package/src/schema/nodes/keyword.ts +61 -0
  136. package/src/schema/nodes/keyword_group.ts +63 -0
  137. package/src/schema/nodes/keywords.ts +59 -0
  138. package/src/schema/nodes/keywords_element.ts +64 -0
  139. package/src/schema/nodes/link.ts +79 -0
  140. package/src/schema/nodes/list.ts +134 -0
  141. package/src/schema/nodes/listing.ts +91 -0
  142. package/src/schema/nodes/listing_element.ts +61 -0
  143. package/src/schema/nodes/long_desc.ts +36 -0
  144. package/src/schema/nodes/manuscript.ts +86 -0
  145. package/src/schema/nodes/missing_figure.ts +59 -0
  146. package/src/schema/nodes/paragraph.ts +77 -0
  147. package/src/schema/nodes/placeholder.ts +62 -0
  148. package/src/schema/nodes/placeholder_element.ts +60 -0
  149. package/src/schema/nodes/pullquote_element.ts +81 -0
  150. package/src/schema/nodes/quote_image.ts +64 -0
  151. package/src/schema/nodes/section.ts +69 -0
  152. package/src/schema/nodes/section_label.ts +39 -0
  153. package/src/schema/nodes/section_title.ts +58 -0
  154. package/src/schema/nodes/subtitle.ts +40 -0
  155. package/src/schema/nodes/subtitles.ts +51 -0
  156. package/src/schema/nodes/supplement.ts +77 -0
  157. package/src/schema/nodes/supplements.ts +60 -0
  158. package/src/schema/nodes/table.ts +144 -0
  159. package/src/schema/nodes/table_col.ts +76 -0
  160. package/src/schema/nodes/table_element.ts +67 -0
  161. package/src/schema/nodes/table_element_footer.ts +42 -0
  162. package/src/schema/nodes/text.ts +31 -0
  163. package/src/schema/nodes/title.ts +43 -0
  164. package/src/schema/nodes/trans_abstract.ts +58 -0
  165. package/src/schema/nodes/trans_graphical_abstract.ts +67 -0
  166. package/src/schema/types.ts +240 -0
  167. package/src/tests.ts +33 -0
  168. package/src/transformer/id.ts +23 -0
  169. package/src/transformer/index.ts +21 -0
  170. package/src/transformer/node-names.ts +73 -0
  171. package/src/transformer/node-title.ts +111 -0
  172. package/src/transformer/node-types.ts +39 -0
  173. package/src/transformer/node-validator.ts +82 -0
  174. package/src/types.ts +25 -0
  175. package/src/version.ts +1 -0
@@ -0,0 +1,221 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with OASIS Tables with MathML3 v1.2 20190208//EN" "http://jats.nlm.nih.gov/archiving/1.2/JATS-archive-oasis-article1-mathml3.dtd">
3
+ <article xmlns:xlink="http://www.w3.org/1999/xlink">
4
+ <front>
5
+ <article-meta>
6
+ <title-group>
7
+ <article-title>A complete manuscript</article-title>
8
+ </title-group>
9
+ <contrib-group content-type="authors">
10
+ <contrib contrib-type="author" id="MPContributor_975F60A6-2080-451B-A8E3-93F587BF3DEC">
11
+ <name>
12
+ <surname>User</surname>
13
+ <given-names>Developer</given-names>
14
+ </name>
15
+ </contrib>
16
+ </contrib-group>
17
+ <counts>
18
+ <count count-type="box" count="0" />
19
+ <fig-count count="0" />
20
+ <table-count count="0" />
21
+ <equation-count count="0" />
22
+ <ref-count count="2" />
23
+ <word-count count="2910" /></counts>
24
+ </article-meta>
25
+ </front>
26
+ <body>
27
+ <sec id="MPSection_AB23BC7F-F0A3-46FB-AEDD-54405C032E5E">
28
+ <title>Paragraphs</title>
29
+ <p id="MPParagraphElement_5BF50210-0758-40D1-831A-DCD814577FD0">A paragraph.</p>
30
+ </sec>
31
+ <sec id="MPSection_A4926F2B-B6DF-4974-B18F-05FEC8CA8003">
32
+ <title>Lists</title>
33
+ <list list-type="order">
34
+ <list-item>
35
+ <p>An ordered list</p>
36
+ </list-item>
37
+ <list-item>
38
+ <p>With two items</p>
39
+ </list-item>
40
+ </list>
41
+ <list list-type="order">
42
+ <list-item>
43
+ <p>An ordered list</p>
44
+ <list list-type="order">
45
+ <list-item>
46
+ <p>With a nested ordered list</p>
47
+ </list-item>
48
+ <list-item>
49
+ <p>With two items</p>
50
+ </list-item>
51
+ </list>
52
+ </list-item>
53
+ </list>
54
+ <list list-type="bullet">
55
+ <list-item>
56
+ <p>A bullet list</p>
57
+ <list list-type="bullet">
58
+ <list-item>
59
+ <p>With a nested bullet list</p>
60
+ </list-item>
61
+ <list-item>
62
+ <p>With two items</p>
63
+ </list-item>
64
+ </list>
65
+ </list-item>
66
+ </list>
67
+ <list list-type="bullet">
68
+ <list-item>
69
+ <p>A bullet list</p>
70
+ <list list-type="order">
71
+ <list-item>
72
+ <p>With a nested ordered list</p>
73
+ </list-item>
74
+ <list-item>
75
+ <p>With two items</p>
76
+ </list-item>
77
+ </list>
78
+ </list-item>
79
+ </list>
80
+ </sec>
81
+ <sec id="MPSection_2E0A7E51-F531-47C3-B585-AA86506D3DE4">
82
+ <title>Figures</title>
83
+ <fig id="MPFigure_035B52CA-C486-4AC1-B44E-40F36F422686">
84
+ <caption>
85
+ <p>Test</p>
86
+ </caption>
87
+ <graphic xlink:href="graphic/MPFigure_035B52CA-C486-4AC1-B44E-40F36F422686.jpeg" content-type="half-right"/>
88
+ </fig>
89
+ </sec>
90
+ <sec id="MPSection_66B42418-3457-4116-96F1-667D17CBA813">
91
+ <title>Tables</title>
92
+ <table-wrap id="MPTableElement_ED394766-2934-4B28-AEFE-EAF97D90D854">
93
+ <caption>
94
+ <p>Test</p>
95
+ </caption>
96
+ <table id="MPTable_2E556F94-DB53-413B-8592-58358A8DD8DD">
97
+ <thead>
98
+ <tr>
99
+ <td>Test</td>
100
+ <td>Test</td>
101
+ </tr>
102
+ </thead>
103
+ <tfoot>
104
+ <tr>
105
+ <td>Test</td>
106
+ <td />
107
+ </tr>
108
+ </tfoot>
109
+ <tbody>
110
+ <tr>
111
+ <td>Test</td>
112
+ <td />
113
+ </tr>
114
+ <tr>
115
+ <td />
116
+ <td>Test</td>
117
+ </tr>
118
+ </tbody>
119
+ </table>
120
+ </table-wrap>
121
+ </sec>
122
+ <sec id="MPSection_61643B99-F34D-46E2-8772-563BC4A7DDB6">
123
+ <title>Equations</title>
124
+ <p id="MPParagraphElement_A868D3F9-3F1A-4DA3-BE74-AEF9998A952F">This paragraph contains an inline equation:<inline-formula><tex-math>2+3=5</tex-math></inline-formula></p>
125
+ <fig id="MPEquationElement_0F637C49-DE6C-4702-974D-5016EC132A1A" fig-type="equation">
126
+ <disp-formula id="MPEquation_ED92F6D4-52EF-4C70-8C11-4F233B96D126">
127
+ <tex-math>E=mc^2</tex-math>
128
+ </disp-formula>
129
+ </fig>
130
+ </sec>
131
+ <sec id="MPSection_27394269-1EB9-47B0-B3F2-11657319C5E1">
132
+ <title>Listings</title>
133
+ <fig id="MPListingElement_6FC7712B-85CE-45D9-A6E7-EB2C48CD0F37" fig-type="listing">
134
+ <code id="MPListing_80FBEC35-C062-4351-A7E6-0515E9D3837D" language="javascript">2+3=5</code>
135
+ </fig>
136
+ </sec>
137
+ <sec id="MPSection_DBCB444D-2469-4EE4-AD80-49AA2E59FC0E">
138
+ <title>Inline</title>
139
+ <p id="MPParagraphElement_94310CD9-4A4B-4F98-9D92-DA957E862DA3">This paragraph contains <bold>bold</bold>, <italic>italic</italic>, <underline>underlined</underline>, <sup>superscript</sup> and <sub>subscript</sub> text.</p>
140
+ <p id="MPParagraphElement_8783E7FC-D562-479A-9BA2-61C6DCD31F35">This paragraph contains <ext-link ext-link-type="uri" xlink:href="https://example.com">a link</ext-link>.</p>
141
+ </sec>
142
+ <sec id="MPSection_15F7949D-0FC4-4EE9-BF35-F9BCB62ED54B">
143
+ <title>Quotes</title>
144
+ <disp-quote content-type="quote">
145
+ <p>This is a block quote.</p>
146
+ <attrib>It came from here.</attrib>
147
+ </disp-quote>
148
+ </sec>
149
+ <sec id="MPSection_A8F4E48A-32A4-4702-814C-F18D2A434EBB">
150
+ <title>Citations</title>
151
+ <p id="MPParagraphElement_3EF4BE66-BFE5-4BB4-A9B8-17130F9B3CA1">This paragraph ends with a citation.<xref ref-type="bibr" rid="MPBibliographyItem_787BD4C1-3074-4076-9707-0227D29C1F10">1</xref></p>
152
+ <p id="MPParagraphElement_51B71DB6-30CC-4273-9975-EA03E3244C8B">This paragraph ends with two citations.<xref ref-type="bibr" rid="MPBibliographyItem_E9EFF971-4380-4DEB-83CF-B0CAA6C32BDF MPBibliographyItem_36EDAD5A-EBA0-47AE-88E6-EBAD385166AE">2,3</xref></p>
153
+ <p id="MPParagraphElement_6887297E-F834-4F1E-9BC2-0C47F551541B">This paragraph ends with all three citations.<xref ref-type="bibr" rid="MPBibliographyItem_787BD4C1-3074-4076-9707-0227D29C1F10 MPBibliographyItem_36EDAD5A-EBA0-47AE-88E6-EBAD385166AE MPBibliographyItem_E9EFF971-4380-4DEB-83CF-B0CAA6C32BDF">1–3</xref></p>
154
+ </sec>
155
+ </body>
156
+ <back>
157
+ <ref-list id="MPSection_A83F9050-B6E5-4587-863B-2BD9F6D788FE">
158
+ <title>Bibliography</title>
159
+ <ref id="MPBibliographyItem_787BD4C1-3074-4076-9707-0227D29C1F10">
160
+ <element-citation publication-type="journal">
161
+ <name>
162
+ <surname>Case</surname>
163
+ <given-names>Nat</given-names>
164
+ </name>
165
+ <article-title>Creating Graphically Complex Indexes With InDesign</article-title>
166
+ <source>Cartographic Perspectives</source>
167
+ <issue>62</issue>
168
+ <fpage>52</fpage>
169
+ <lpage>54</lpage>
170
+ <year>2009</year>
171
+ <month>3</month>
172
+ <day>1</day>
173
+ </element-citation>
174
+ </ref>
175
+ <ref id="MPBibliographyItem_E9EFF971-4380-4DEB-83CF-B0CAA6C32BDF">
176
+ <element-citation publication-type="journal">
177
+ <article-title>Technique for extracting reusable XML Schema from schema-less XML Documents</article-title>
178
+ <source>The KIPS Transactions:PartD</source>
179
+ <volume>10D</volume>
180
+ <issue>4</issue>
181
+ <fpage>603</fpage>
182
+ <lpage>612</lpage>
183
+ <year>2003</year>
184
+ <month>8</month>
185
+ <day>1</day>
186
+ </element-citation>
187
+ </ref>
188
+ <ref id="MPBibliographyItem_36EDAD5A-EBA0-47AE-88E6-EBAD385166AE">
189
+ <element-citation publication-type="journal">
190
+ <name>
191
+ <surname>Kim</surname>
192
+ <given-names>Jin</given-names>
193
+ </name>
194
+ <name>
195
+ <surname>Kang</surname>
196
+ <given-names>Hyun-Chul</given-names>
197
+ </name>
198
+ <article-title>XML Fragmentation for Resource-Efficient Query Processing over XML Fragment Stream</article-title>
199
+ <source>The KIPS Transactions:PartD</source>
200
+ <volume>16D</volume>
201
+ <issue>1</issue>
202
+ <fpage>27</fpage>
203
+ <lpage>42</lpage>
204
+ <year>2009</year>
205
+ <month>2</month>
206
+ <day>28</day>
207
+ </element-citation>
208
+ </ref>
209
+ </ref-list>
210
+ <fn-group>
211
+ <fn fn-type="conflict">
212
+ <p content-type="fn-title">CONFLICT OF INTEREST</p>
213
+ <p>No conflicts of interest have been declared.</p>
214
+ </fn>
215
+ <fn fn-type="financial-disclosure">
216
+ <p content-type="fn-title">FUNDING INFORMATION</p>
217
+ <p>This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p>
218
+ </fn>
219
+ </fn-group>
220
+ </back>
221
+ </article>
@@ -0,0 +1,60 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with OASIS Tables with MathML3 v1.2 20190208//EN" "http://jats.nlm.nih.gov/archiving/1.2/JATS-archive-oasis-article1-mathml3.dtd">
3
+ <article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
4
+ <front>
5
+ <article-meta>
6
+ <title-group>
7
+ <article-title>A title with a comment</article-title>
8
+ </title-group>
9
+ <abstract>
10
+ <p>A paragraph with <?AuthorQuery id="c1" queryText="Abstract comment"?> a comment</p>
11
+ </abstract>
12
+ <kwd-group>
13
+ <kwd>A <?AuthorQuery id="c1" queryText="Keyword comment"?> keyword with a comment</kwd>
14
+ </kwd-group>
15
+ </article-meta>
16
+ </front>
17
+ <body>
18
+ <sec>
19
+ <title>Section</title>
20
+ <p>A <?AuthorQuery id="c1" queryText="Body comment"?>paragraph with a comment</p>
21
+ </sec>
22
+ </body>
23
+ <back>
24
+ <fn-group>
25
+ <fn fn-type="con">
26
+ <label>con</label>
27
+ <p>This is information about con.</p>
28
+ </fn>
29
+ <fn fn-type="deceased">
30
+ <label>deceased</label>
31
+ <p>This is information about deceased.</p>
32
+ </fn>
33
+ <fn fn-type="equal">
34
+ <label>equal</label>
35
+ <p>This is information about equal.</p>
36
+ </fn>
37
+ <fn fn-type="financial-disclosure">
38
+ <p content-type="fn-title">FUNDING INFORMATION</p>
39
+ <p>A paragraph with a comment
40
+ <?AuthorQuery id="c1" queryText="Back comment"?></p>
41
+ </fn>
42
+
43
+ </fn-group>
44
+ <ref-list>
45
+ <title>References</title>
46
+ <ref id="ref1">
47
+ <element-citation publication-type="journal">
48
+ <?AuthorQuery id="Q1" queryText="Ref comment"?>
49
+ <year>1992</year>
50
+ <article-title>Test article</article-title>
51
+ <source>Test journal</source>
52
+ <volume>0</volume>
53
+ <issue>0</issue>
54
+ <fpage>0</fpage>
55
+ <lpage>0</lpage>
56
+ </element-citation>
57
+ </ref>
58
+ </ref-list>
59
+ </back>
60
+ </article>