niso-jats 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/rake.yml +18 -0
- data/.github/workflows/release.yml +25 -0
- data/.gitignore +13 -0
- data/.gitmodules +3 -0
- data/.rspec +3 -0
- data/.rubocop.yml +21 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +14 -0
- data/README.adoc +73 -0
- data/Rakefile +12 -0
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/lib/niso/jats/abbrev.rb +29 -0
- data/lib/niso/jats/abbrev_journal_title.rb +23 -0
- data/lib/niso/jats/abstract.rb +31 -0
- data/lib/niso/jats/access_date.rb +25 -0
- data/lib/niso/jats/ack.rb +39 -0
- data/lib/niso/jats/addr_line.rb +91 -0
- data/lib/niso/jats/address.rb +45 -0
- data/lib/niso/jats/aff.rb +93 -0
- data/lib/niso/jats/aff_alternatives.rb +17 -0
- data/lib/niso/jats/alt_text.rb +23 -0
- data/lib/niso/jats/alt_title.rb +65 -0
- data/lib/niso/jats/alternatives.rb +49 -0
- data/lib/niso/jats/annotation.rb +23 -0
- data/lib/niso/jats/anonymous.rb +19 -0
- data/lib/niso/jats/answer.rb +109 -0
- data/lib/niso/jats/answer_set.rb +37 -0
- data/lib/niso/jats/app.rb +105 -0
- data/lib/niso/jats/app_group.rb +105 -0
- data/lib/niso/jats/array.rb +45 -0
- data/lib/niso/jats/article.rb +37 -0
- data/lib/niso/jats/article_categories.rb +21 -0
- data/lib/niso/jats/article_id.rb +25 -0
- data/lib/niso/jats/article_meta.rb +108 -0
- data/lib/niso/jats/article_title.rb +61 -0
- data/lib/niso/jats/article_version.rb +39 -0
- data/lib/niso/jats/article_version_alternatives.rb +17 -0
- data/lib/niso/jats/attrib.rb +61 -0
- data/lib/niso/jats/author_comment.rb +25 -0
- data/lib/niso/jats/author_notes.rb +29 -0
- data/lib/niso/jats/award_desc.rb +21 -0
- data/lib/niso/jats/award_group.rb +40 -0
- data/lib/niso/jats/award_id.rb +83 -0
- data/lib/niso/jats/award_name.rb +21 -0
- data/lib/niso/jats/back.rb +35 -0
- data/lib/niso/jats/basic_text.rb +48 -0
- data/lib/niso/jats/bio.rb +107 -0
- data/lib/niso/jats/block_alternatives.rb +27 -0
- data/lib/niso/jats/body.rb +89 -0
- data/lib/niso/jats/bold.rb +61 -0
- data/lib/niso/jats/boxed_text.rb +113 -0
- data/lib/niso/jats/break.rb +15 -0
- data/lib/niso/jats/caption.rb +27 -0
- data/lib/niso/jats/chapter_title.rb +81 -0
- data/lib/niso/jats/chem_struct.rb +95 -0
- data/lib/niso/jats/chem_struct_wrap.rb +65 -0
- data/lib/niso/jats/citation_alternatives.rb +23 -0
- data/lib/niso/jats/city.rb +23 -0
- data/lib/niso/jats/code.rb +95 -0
- data/lib/niso/jats/col.rb +31 -0
- data/lib/niso/jats/colgroup.rb +33 -0
- data/lib/niso/jats/collab.rb +123 -0
- data/lib/niso/jats/collab_alternatives.rb +17 -0
- data/lib/niso/jats/comment.rb +63 -0
- data/lib/niso/jats/compound_kwd.rb +29 -0
- data/lib/niso/jats/compound_kwd_part.rb +67 -0
- data/lib/niso/jats/compound_subject.rb +29 -0
- data/lib/niso/jats/compound_subject_part.rb +61 -0
- data/lib/niso/jats/conf_acronym.rb +23 -0
- data/lib/niso/jats/conf_date.rb +27 -0
- data/lib/niso/jats/conf_loc.rb +41 -0
- data/lib/niso/jats/conf_name.rb +23 -0
- data/lib/niso/jats/conf_num.rb +23 -0
- data/lib/niso/jats/conf_sponsor.rb +27 -0
- data/lib/niso/jats/conf_theme.rb +75 -0
- data/lib/niso/jats/conference.rb +37 -0
- data/lib/niso/jats/contrib.rb +67 -0
- data/lib/niso/jats/contrib_group.rb +43 -0
- data/lib/niso/jats/contrib_id.rb +29 -0
- data/lib/niso/jats/contributed_resource_group.rb +27 -0
- data/lib/niso/jats/copyright_holder.rb +31 -0
- data/lib/niso/jats/copyright_statement.rb +59 -0
- data/lib/niso/jats/copyright_year.rb +21 -0
- data/lib/niso/jats/corresp.rb +79 -0
- data/lib/niso/jats/count.rb +19 -0
- data/lib/niso/jats/country.rb +25 -0
- data/lib/niso/jats/counts.rb +29 -0
- data/lib/niso/jats/custom_meta.rb +35 -0
- data/lib/niso/jats/custom_meta_group.rb +23 -0
- data/lib/niso/jats/data_title.rb +65 -0
- data/lib/niso/jats/date.rb +35 -0
- data/lib/niso/jats/date_in_citation.rb +37 -0
- data/lib/niso/jats/day.rb +23 -0
- data/lib/niso/jats/def.rb +23 -0
- data/lib/niso/jats/def_head.rb +57 -0
- data/lib/niso/jats/def_item.rb +23 -0
- data/lib/niso/jats/def_list.rb +39 -0
- data/lib/niso/jats/degrees.rb +23 -0
- data/lib/niso/jats/disp_formula.rb +103 -0
- data/lib/niso/jats/disp_formula_group.rb +47 -0
- data/lib/niso/jats/disp_quote.rb +97 -0
- data/lib/niso/jats/edition.rb +29 -0
- data/lib/niso/jats/element_citation.rb +203 -0
- data/lib/niso/jats/elocation_id.rb +23 -0
- data/lib/niso/jats/email.rb +25 -0
- data/lib/niso/jats/equation_count.rb +17 -0
- data/lib/niso/jats/era.rb +23 -0
- data/lib/niso/jats/etal.rb +21 -0
- data/lib/niso/jats/event.rb +48 -0
- data/lib/niso/jats/event_desc.rb +49 -0
- data/lib/niso/jats/explanation.rb +107 -0
- data/lib/niso/jats/ext_link.rb +59 -0
- data/lib/niso/jats/extended_by.rb +31 -0
- data/lib/niso/jats/fax.rb +21 -0
- data/lib/niso/jats/fig.rb +87 -0
- data/lib/niso/jats/fig_count.rb +17 -0
- data/lib/niso/jats/fig_group.rb +59 -0
- data/lib/niso/jats/fixed_case.rb +61 -0
- data/lib/niso/jats/floats_group.rb +41 -0
- data/lib/niso/jats/fn.rb +32 -0
- data/lib/niso/jats/fn_group.rb +27 -0
- data/lib/niso/jats/fpage.rb +25 -0
- data/lib/niso/jats/front.rb +21 -0
- data/lib/niso/jats/front_stub.rb +108 -0
- data/lib/niso/jats/funding_group.rb +25 -0
- data/lib/niso/jats/funding_source.rb +85 -0
- data/lib/niso/jats/funding_statement.rb +59 -0
- data/lib/niso/jats/given_names.rb +19 -0
- data/lib/niso/jats/glossary.rb +97 -0
- data/lib/niso/jats/glyph_data.rb +29 -0
- data/lib/niso/jats/glyph_ref.rb +17 -0
- data/lib/niso/jats/gov.rb +53 -0
- data/lib/niso/jats/graphic.rb +61 -0
- data/lib/niso/jats/history.rb +17 -0
- data/lib/niso/jats/hr.rb +15 -0
- data/lib/niso/jats/index_term.rb +39 -0
- data/lib/niso/jats/index_term_range_end.rb +17 -0
- data/lib/niso/jats/inline_formula.rb +73 -0
- data/lib/niso/jats/inline_graphic.rb +33 -0
- data/lib/niso/jats/inline_media.rb +77 -0
- data/lib/niso/jats/inline_supplementary_material.rb +69 -0
- data/lib/niso/jats/institution.rb +31 -0
- data/lib/niso/jats/institution_id.rb +31 -0
- data/lib/niso/jats/institution_wrap.rb +19 -0
- data/lib/niso/jats/isbn.rb +25 -0
- data/lib/niso/jats/issn.rb +27 -0
- data/lib/niso/jats/issn_l.rb +21 -0
- data/lib/niso/jats/issue.rb +25 -0
- data/lib/niso/jats/issue_id.rb +29 -0
- data/lib/niso/jats/issue_part.rb +23 -0
- data/lib/niso/jats/issue_sponsor.rb +23 -0
- data/lib/niso/jats/issue_subtitle.rb +23 -0
- data/lib/niso/jats/issue_title.rb +23 -0
- data/lib/niso/jats/issue_title_group.rb +27 -0
- data/lib/niso/jats/italic.rb +61 -0
- data/lib/niso/jats/journal_id.rb +25 -0
- data/lib/niso/jats/journal_meta.rb +37 -0
- data/lib/niso/jats/journal_subtitle.rb +23 -0
- data/lib/niso/jats/journal_title.rb +23 -0
- data/lib/niso/jats/journal_title_group.rb +25 -0
- data/lib/niso/jats/kwd.rb +59 -0
- data/lib/niso/jats/kwd_group.rb +37 -0
- data/lib/niso/jats/label.rb +59 -0
- data/lib/niso/jats/license.rb +25 -0
- data/lib/niso/jats/license_p.rb +169 -0
- data/lib/niso/jats/license_paragraph.rb +17 -0
- data/lib/niso/jats/list.rb +35 -0
- data/lib/niso/jats/list_item.rb +29 -0
- data/lib/niso/jats/long_desc.rb +25 -0
- data/lib/niso/jats/lpage.rb +23 -0
- data/lib/niso/jats/media.rb +59 -0
- data/lib/niso/jats/meta_name.rb +17 -0
- data/lib/niso/jats/meta_value.rb +57 -0
- data/lib/niso/jats/milestone_end.rb +25 -0
- data/lib/niso/jats/milestone_start.rb +25 -0
- data/lib/niso/jats/mixed_citation.rb +205 -0
- data/lib/niso/jats/module_includer.rb +47 -0
- data/lib/niso/jats/monospace.rb +61 -0
- data/lib/niso/jats/month.rb +23 -0
- data/lib/niso/jats/name.rb +31 -0
- data/lib/niso/jats/name_alternatives.rb +19 -0
- data/lib/niso/jats/named_content.rb +169 -0
- data/lib/niso/jats/nested_kwd.rb +33 -0
- data/lib/niso/jats/nlm_citation.rb +85 -0
- data/lib/niso/jats/note.rb +27 -0
- data/lib/niso/jats/notes.rb +103 -0
- data/lib/niso/jats/object_id.rb +25 -0
- data/lib/niso/jats/on_behalf_of.rb +61 -0
- data/lib/niso/jats/open_access.rb +21 -0
- data/lib/niso/jats/option.rb +109 -0
- data/lib/niso/jats/overline.rb +61 -0
- data/lib/niso/jats/overline_end.rb +19 -0
- data/lib/niso/jats/overline_start.rb +17 -0
- data/lib/niso/jats/page_count.rb +17 -0
- data/lib/niso/jats/page_range.rb +23 -0
- data/lib/niso/jats/paragraph.rb +169 -0
- data/lib/niso/jats/part_title.rb +81 -0
- data/lib/niso/jats/patent.rb +25 -0
- data/lib/niso/jats/permissions.rb +23 -0
- data/lib/niso/jats/person_group.rb +45 -0
- data/lib/niso/jats/phone.rb +21 -0
- data/lib/niso/jats/postal_code.rb +23 -0
- data/lib/niso/jats/prefix.rb +23 -0
- data/lib/niso/jats/preformat.rb +81 -0
- data/lib/niso/jats/price.rb +47 -0
- data/lib/niso/jats/principal_award_recipient.rb +33 -0
- data/lib/niso/jats/principal_investigator.rb +29 -0
- data/lib/niso/jats/private_char.rb +27 -0
- data/lib/niso/jats/processing_meta.rb +31 -0
- data/lib/niso/jats/product.rb +215 -0
- data/lib/niso/jats/pub_date.rb +39 -0
- data/lib/niso/jats/pub_date_not_available.rb +17 -0
- data/lib/niso/jats/pub_history.rb +17 -0
- data/lib/niso/jats/pub_id.rb +27 -0
- data/lib/niso/jats/publisher.rb +21 -0
- data/lib/niso/jats/publisher_loc.rb +45 -0
- data/lib/niso/jats/publisher_name.rb +25 -0
- data/lib/niso/jats/question.rb +113 -0
- data/lib/niso/jats/question_preamble.rb +101 -0
- data/lib/niso/jats/question_wrap.rb +33 -0
- data/lib/niso/jats/question_wrap_group.rb +37 -0
- data/lib/niso/jats/rb.rb +43 -0
- data/lib/niso/jats/ref.rb +33 -0
- data/lib/niso/jats/ref_count.rb +17 -0
- data/lib/niso/jats/ref_list.rb +99 -0
- data/lib/niso/jats/related_article.rb +185 -0
- data/lib/niso/jats/related_object.rb +195 -0
- data/lib/niso/jats/resource_group.rb +23 -0
- data/lib/niso/jats/resource_id.rb +31 -0
- data/lib/niso/jats/resource_name.rb +49 -0
- data/lib/niso/jats/resource_wrap.rb +19 -0
- data/lib/niso/jats/response.rb +33 -0
- data/lib/niso/jats/restricted_by.rb +31 -0
- data/lib/niso/jats/role.rb +65 -0
- data/lib/niso/jats/roman.rb +61 -0
- data/lib/niso/jats/rp.rb +17 -0
- data/lib/niso/jats/rt.rb +23 -0
- data/lib/niso/jats/ruby.rb +23 -0
- data/lib/niso/jats/sans_serif.rb +97 -0
- data/lib/niso/jats/sc.rb +61 -0
- data/lib/niso/jats/season.rb +23 -0
- data/lib/niso/jats/sec.rb +103 -0
- data/lib/niso/jats/sec_meta.rb +27 -0
- data/lib/niso/jats/see.rb +79 -0
- data/lib/niso/jats/see_also.rb +87 -0
- data/lib/niso/jats/self_uri.rb +27 -0
- data/lib/niso/jats/series.rb +53 -0
- data/lib/niso/jats/series_text.rb +53 -0
- data/lib/niso/jats/series_title.rb +53 -0
- data/lib/niso/jats/sig.rb +67 -0
- data/lib/niso/jats/sig_block.rb +69 -0
- data/lib/niso/jats/size.rb +23 -0
- data/lib/niso/jats/source.rb +83 -0
- data/lib/niso/jats/speaker.rb +39 -0
- data/lib/niso/jats/speech.rb +27 -0
- data/lib/niso/jats/state.rb +23 -0
- data/lib/niso/jats/statement.rb +39 -0
- data/lib/niso/jats/std.rb +71 -0
- data/lib/niso/jats/std_organization.rb +31 -0
- data/lib/niso/jats/strike.rb +61 -0
- data/lib/niso/jats/string_conf.rb +91 -0
- data/lib/niso/jats/string_date.rb +37 -0
- data/lib/niso/jats/string_name.rb +35 -0
- data/lib/niso/jats/styled_content.rb +163 -0
- data/lib/niso/jats/sub.rb +61 -0
- data/lib/niso/jats/sub_article.rb +37 -0
- data/lib/niso/jats/subj_group.rb +33 -0
- data/lib/niso/jats/subject.rb +71 -0
- data/lib/niso/jats/subtitle.rb +65 -0
- data/lib/niso/jats/suffix.rb +23 -0
- data/lib/niso/jats/sup.rb +61 -0
- data/lib/niso/jats/supplement.rb +79 -0
- data/lib/niso/jats/supplementary_material.rb +93 -0
- data/lib/niso/jats/support_description.rb +23 -0
- data/lib/niso/jats/support_group.rb +25 -0
- data/lib/niso/jats/support_source.rb +85 -0
- data/lib/niso/jats/surname.rb +19 -0
- data/lib/niso/jats/table.rb +47 -0
- data/lib/niso/jats/table_count.rb +17 -0
- data/lib/niso/jats/table_wrap.rb +83 -0
- data/lib/niso/jats/table_wrap_foot.rb +27 -0
- data/lib/niso/jats/table_wrap_group.rb +51 -0
- data/lib/niso/jats/target.rb +53 -0
- data/lib/niso/jats/tbody.rb +29 -0
- data/lib/niso/jats/td.rb +169 -0
- data/lib/niso/jats/term.rb +89 -0
- data/lib/niso/jats/term_head.rb +57 -0
- data/lib/niso/jats/tex_math.rb +25 -0
- data/lib/niso/jats/textual_form.rb +61 -0
- data/lib/niso/jats/tfoot.rb +29 -0
- data/lib/niso/jats/th.rb +169 -0
- data/lib/niso/jats/thead.rb +29 -0
- data/lib/niso/jats/time_stamp.rb +21 -0
- data/lib/niso/jats/title.rb +71 -0
- data/lib/niso/jats/title_group.rb +25 -0
- data/lib/niso/jats/tr.rb +31 -0
- data/lib/niso/jats/trans_abstract.rb +31 -0
- data/lib/niso/jats/trans_source.rb +83 -0
- data/lib/niso/jats/trans_subtitle.rb +63 -0
- data/lib/niso/jats/trans_title.rb +65 -0
- data/lib/niso/jats/trans_title_group.rb +25 -0
- data/lib/niso/jats/underline.rb +63 -0
- data/lib/niso/jats/underline_end.rb +19 -0
- data/lib/niso/jats/underline_start.rb +17 -0
- data/lib/niso/jats/unstructured_kwd_group.rb +29 -0
- data/lib/niso/jats/uri.rb +31 -0
- data/lib/niso/jats/verse_group.rb +41 -0
- data/lib/niso/jats/verse_line.rb +89 -0
- data/lib/niso/jats/version.rb +5 -0
- data/lib/niso/jats/version_element.rb +29 -0
- data/lib/niso/jats/volume.rb +25 -0
- data/lib/niso/jats/volume_id.rb +29 -0
- data/lib/niso/jats/volume_issue_group.rb +39 -0
- data/lib/niso/jats/volume_series.rb +23 -0
- data/lib/niso/jats/word_count.rb +17 -0
- data/lib/niso/jats/x.rb +23 -0
- data/lib/niso/jats/xref.rb +59 -0
- data/lib/niso/jats/year.rb +27 -0
- data/lib/niso/jats.rb +14 -0
- data/lib/niso-jats.rb +1 -0
- data/lib/niso_jats.rb +5 -0
- data/niso-jats.gemspec +39 -0
- data/reference-docs/JATS-journalpublishing1-3-elements-modified-for-shale.xsd +9604 -0
- data/reference-docs/JATS-journalpublishing1-3-elements.xsd +9604 -0
- data/reference-docs/JATS-journalpublishing1-3.xsd.xml +45 -0
- data/reference-docs/mathml2.xsd +59 -0
- data/reference-docs/module-ali.xsd +46 -0
- data/reference-docs/xlink.xsd +100 -0
- data/reference-docs/xml.xsd +287 -0
- data/sig/niso/jats.rbs +6 -0
- metadata +434 -0
@@ -0,0 +1,169 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class NamedContent < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :alt, :string
|
8
|
+
attribute :content_type, :string
|
9
|
+
attribute :hreflang, :string
|
10
|
+
attribute :id, :string
|
11
|
+
attribute :rid, :string
|
12
|
+
attribute :specific_use, :string
|
13
|
+
attribute :vocab, :string
|
14
|
+
attribute :vocab_identifier, :string
|
15
|
+
attribute :vocab_term, :string
|
16
|
+
attribute :vocab_term_identifier, :string
|
17
|
+
attribute :lang, :string
|
18
|
+
attribute :email, Email, collection: true
|
19
|
+
attribute :ext_link, ExtLink, collection: true
|
20
|
+
attribute :uri, Uri, collection: true
|
21
|
+
attribute :inline_supplementary_material, InlineSupplementaryMaterial,
|
22
|
+
collection: true
|
23
|
+
attribute :related_article, RelatedArticle, collection: true
|
24
|
+
attribute :related_object, RelatedObject, collection: true
|
25
|
+
attribute :address, Address, collection: true
|
26
|
+
attribute :alternatives, Alternatives, collection: true
|
27
|
+
attribute :answer, Answer, collection: true
|
28
|
+
attribute :answer_set, AnswerSet, collection: true
|
29
|
+
attribute :array, Array, collection: true
|
30
|
+
attribute :block_alternatives, BlockAlternatives, collection: true
|
31
|
+
attribute :boxed_text, BoxedText, collection: true
|
32
|
+
attribute :chem_struct_wrap, ChemStructWrap, collection: true
|
33
|
+
attribute :code, Code, collection: true
|
34
|
+
attribute :explanation, Explanation, collection: true
|
35
|
+
attribute :fig, Fig, collection: true
|
36
|
+
attribute :fig_group, FigGroup, collection: true
|
37
|
+
attribute :graphic, Graphic, collection: true
|
38
|
+
attribute :media, Media, collection: true
|
39
|
+
attribute :preformat, Preformat, collection: true
|
40
|
+
attribute :question, Question, collection: true
|
41
|
+
attribute :question_wrap, QuestionWrap, collection: true
|
42
|
+
attribute :question_wrap_group, QuestionWrapGroup, collection: true
|
43
|
+
attribute :supplementary_material, SupplementaryMaterial, collection: true
|
44
|
+
attribute :table_wrap, TableWrap, collection: true
|
45
|
+
attribute :table_wrap_group, TableWrapGroup, collection: true
|
46
|
+
attribute :disp_formula, DispFormula, collection: true
|
47
|
+
attribute :disp_formula_group, DispFormulaGroup, collection: true
|
48
|
+
attribute :bold, Bold, collection: true
|
49
|
+
attribute :fixed_case, FixedCase, collection: true
|
50
|
+
attribute :italic, Italic, collection: true
|
51
|
+
attribute :monospace, Monospace, collection: true
|
52
|
+
attribute :overline, Overline, collection: true
|
53
|
+
attribute :roman, Roman, collection: true
|
54
|
+
attribute :sans_serif, SansSerif, collection: true
|
55
|
+
attribute :sc, Sc, collection: true
|
56
|
+
attribute :strike, Strike, collection: true
|
57
|
+
attribute :underline, Underline, collection: true
|
58
|
+
attribute :ruby, Ruby, collection: true
|
59
|
+
attribute :inline_graphic, InlineGraphic, collection: true
|
60
|
+
attribute :inline_media, InlineMedia, collection: true
|
61
|
+
attribute :private_char, PrivateChar, collection: true
|
62
|
+
attribute :chem_struct, ChemStruct, collection: true
|
63
|
+
attribute :inline_formula, InlineFormula, collection: true
|
64
|
+
attribute :def_list, DefList, collection: true
|
65
|
+
attribute :list, List, collection: true
|
66
|
+
attribute :tex_math, TexMath, collection: true
|
67
|
+
attribute :mml_math, :string, collection: true
|
68
|
+
attribute :abbrev, Abbrev, collection: true
|
69
|
+
attribute :index_term, IndexTerm, collection: true
|
70
|
+
attribute :index_term_range_end, IndexTermRangeEnd, collection: true
|
71
|
+
attribute :milestone_end, MilestoneEnd, collection: true
|
72
|
+
attribute :milestone_start, MilestoneStart, collection: true
|
73
|
+
attribute :named_content, NamedContent, collection: true
|
74
|
+
attribute :styled_content, StyledContent, collection: true
|
75
|
+
attribute :fn, Fn, collection: true
|
76
|
+
attribute :target, Target, collection: true
|
77
|
+
attribute :xref, Xref, collection: true
|
78
|
+
attribute :sub, Sub, collection: true
|
79
|
+
attribute :sup, Sup, collection: true
|
80
|
+
attribute :disp_quote, DispQuote, collection: true
|
81
|
+
attribute :speech, Speech, collection: true
|
82
|
+
attribute :statement, Statement, collection: true
|
83
|
+
attribute :verse_group, VerseGroup, collection: true
|
84
|
+
|
85
|
+
xml do
|
86
|
+
root "named-content"
|
87
|
+
|
88
|
+
map_content to: :content
|
89
|
+
map_attribute "alt", to: :alt
|
90
|
+
map_attribute "content-type", to: :content_type
|
91
|
+
map_attribute "hreflang", to: :hreflang
|
92
|
+
map_attribute "id", to: :id
|
93
|
+
map_attribute "rid", to: :rid
|
94
|
+
map_attribute "specific-use", to: :specific_use
|
95
|
+
map_attribute "vocab", to: :vocab
|
96
|
+
map_attribute "vocab-identifier", to: :vocab_identifier
|
97
|
+
map_attribute "vocab-term", to: :vocab_term
|
98
|
+
map_attribute "vocab-term-identifier", to: :vocab_term_identifier
|
99
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
100
|
+
map_element "email", to: :email
|
101
|
+
map_element "ext-link", to: :ext_link
|
102
|
+
map_element "uri", to: :uri
|
103
|
+
map_element "inline-supplementary-material",
|
104
|
+
to: :inline_supplementary_material
|
105
|
+
map_element "related-article", to: :related_article
|
106
|
+
map_element "related-object", to: :related_object
|
107
|
+
map_element "address", to: :address
|
108
|
+
map_element "alternatives", to: :alternatives
|
109
|
+
map_element "answer", to: :answer
|
110
|
+
map_element "answer-set", to: :answer_set
|
111
|
+
map_element "array", to: :array
|
112
|
+
map_element "block-alternatives", to: :block_alternatives
|
113
|
+
map_element "boxed-text", to: :boxed_text
|
114
|
+
map_element "chem-struct-wrap", to: :chem_struct_wrap
|
115
|
+
map_element "code", to: :code
|
116
|
+
map_element "explanation", to: :explanation
|
117
|
+
map_element "fig", to: :fig
|
118
|
+
map_element "fig-group", to: :fig_group
|
119
|
+
map_element "graphic", to: :graphic
|
120
|
+
map_element "media", to: :media
|
121
|
+
map_element "preformat", to: :preformat
|
122
|
+
map_element "question", to: :question
|
123
|
+
map_element "question-wrap", to: :question_wrap
|
124
|
+
map_element "question-wrap-group", to: :question_wrap_group
|
125
|
+
map_element "supplementary-material", to: :supplementary_material
|
126
|
+
map_element "table-wrap", to: :table_wrap
|
127
|
+
map_element "table-wrap-group", to: :table_wrap_group
|
128
|
+
map_element "disp-formula", to: :disp_formula
|
129
|
+
map_element "disp-formula-group", to: :disp_formula_group
|
130
|
+
map_element "bold", to: :bold
|
131
|
+
map_element "fixed-case", to: :fixed_case
|
132
|
+
map_element "italic", to: :italic
|
133
|
+
map_element "monospace", to: :monospace
|
134
|
+
map_element "overline", to: :overline
|
135
|
+
map_element "roman", to: :roman
|
136
|
+
map_element "sans-serif", to: :sans_serif
|
137
|
+
map_element "sc", to: :sc
|
138
|
+
map_element "strike", to: :strike
|
139
|
+
map_element "underline", to: :underline
|
140
|
+
map_element "ruby", to: :ruby
|
141
|
+
map_element "inline-graphic", to: :inline_graphic
|
142
|
+
map_element "inline-media", to: :inline_media
|
143
|
+
map_element "private-char", to: :private_char
|
144
|
+
map_element "chem-struct", to: :chem_struct
|
145
|
+
map_element "inline-formula", to: :inline_formula
|
146
|
+
map_element "def-list", to: :def_list
|
147
|
+
map_element "list", to: :list
|
148
|
+
map_element "tex-math", to: :tex_math
|
149
|
+
map_element "mml-math", to: :mml_math
|
150
|
+
map_element "abbrev", to: :abbrev
|
151
|
+
map_element "index-term", to: :index_term
|
152
|
+
map_element "index-term-range-end", to: :index_term_range_end
|
153
|
+
map_element "milestone-end", to: :milestone_end
|
154
|
+
map_element "milestone-start", to: :milestone_start
|
155
|
+
map_element "named-content", to: :named_content
|
156
|
+
map_element "styled-content", to: :styled_content
|
157
|
+
map_element "fn", to: :fn
|
158
|
+
map_element "target", to: :target
|
159
|
+
map_element "xref", to: :xref
|
160
|
+
map_element "sub", to: :sub
|
161
|
+
map_element "sup", to: :sup
|
162
|
+
map_element "disp-quote", to: :disp_quote
|
163
|
+
map_element "speech", to: :speech
|
164
|
+
map_element "statement", to: :statement
|
165
|
+
map_element "verse-group", to: :verse_group
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class NestedKwd < Lutaml::Model::Serializable
|
6
|
+
attribute :assigning_authority, :string
|
7
|
+
attribute :content_type, :string
|
8
|
+
attribute :id, :string
|
9
|
+
attribute :vocab, :string
|
10
|
+
attribute :vocab_identifier, :string
|
11
|
+
attribute :vocab_term, :string
|
12
|
+
attribute :vocab_term_identifier, :string
|
13
|
+
attribute :kwd, Kwd, collection: true
|
14
|
+
attribute :compound_kwd, CompoundKwd, collection: true
|
15
|
+
attribute :nested_kwd, NestedKwd, collection: true
|
16
|
+
|
17
|
+
xml do
|
18
|
+
root "nested-kwd"
|
19
|
+
|
20
|
+
map_attribute "assigning-authority", to: :assigning_authority
|
21
|
+
map_attribute "content-type", to: :content_type
|
22
|
+
map_attribute "id", to: :id
|
23
|
+
map_attribute "vocab", to: :vocab
|
24
|
+
map_attribute "vocab-identifier", to: :vocab_identifier
|
25
|
+
map_attribute "vocab-term", to: :vocab_term
|
26
|
+
map_attribute "vocab-term-identifier", to: :vocab_term_identifier
|
27
|
+
map_element "kwd", to: :kwd
|
28
|
+
map_element "compound-kwd", to: :compound_kwd
|
29
|
+
map_element "nested-kwd", to: :nested_kwd
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class NlmCitation < Lutaml::Model::Serializable
|
6
|
+
attribute :hreflang, :string
|
7
|
+
attribute :id, :string
|
8
|
+
attribute :publication_format, :string
|
9
|
+
attribute :publication_type, :string
|
10
|
+
attribute :publisher_type, :string
|
11
|
+
attribute :specific_use, :string
|
12
|
+
attribute :lang, :string
|
13
|
+
attribute :person_group, PersonGroup, collection: true
|
14
|
+
attribute :collab, Collab, collection: true
|
15
|
+
attribute :article_title, ArticleTitle, collection: true
|
16
|
+
attribute :trans_title, TransTitle, collection: true
|
17
|
+
attribute :source, Source
|
18
|
+
attribute :patent, Patent
|
19
|
+
attribute :trans_source, TransSource
|
20
|
+
attribute :year, Year
|
21
|
+
attribute :month, Month
|
22
|
+
attribute :day, Day
|
23
|
+
attribute :time_stamp, TimeStamp
|
24
|
+
attribute :season, Season
|
25
|
+
attribute :access_date, AccessDate
|
26
|
+
attribute :volume, Volume
|
27
|
+
attribute :edition, Edition
|
28
|
+
attribute :conf_name, ConfName
|
29
|
+
attribute :conf_date, ConfDate
|
30
|
+
attribute :conf_loc, ConfLoc
|
31
|
+
attribute :issue, Issue, collection: true
|
32
|
+
attribute :supplement, Supplement, collection: true
|
33
|
+
attribute :publisher_loc, PublisherLoc
|
34
|
+
attribute :publisher_name, PublisherName
|
35
|
+
attribute :fpage, Fpage, collection: true
|
36
|
+
attribute :lpage, Lpage, collection: true
|
37
|
+
attribute :page_count, PageCount
|
38
|
+
attribute :series, Series
|
39
|
+
attribute :comment, Comment, collection: true
|
40
|
+
attribute :pub_id, PubId, collection: true
|
41
|
+
attribute :annotation, Annotation
|
42
|
+
|
43
|
+
xml do
|
44
|
+
root "nlm-citation"
|
45
|
+
|
46
|
+
map_attribute "hreflang", to: :hreflang
|
47
|
+
map_attribute "id", to: :id
|
48
|
+
map_attribute "publication-format", to: :publication_format
|
49
|
+
map_attribute "publication-type", to: :publication_type
|
50
|
+
map_attribute "publisher-type", to: :publisher_type
|
51
|
+
map_attribute "specific-use", to: :specific_use
|
52
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
53
|
+
map_element "person-group", to: :person_group
|
54
|
+
map_element "collab", to: :collab
|
55
|
+
map_element "article-title", to: :article_title
|
56
|
+
map_element "trans-title", to: :trans_title
|
57
|
+
map_element "source", to: :source
|
58
|
+
map_element "patent", to: :patent
|
59
|
+
map_element "trans-source", to: :trans_source
|
60
|
+
map_element "year", to: :year
|
61
|
+
map_element "month", to: :month
|
62
|
+
map_element "day", to: :day
|
63
|
+
map_element "time-stamp", to: :time_stamp
|
64
|
+
map_element "season", to: :season
|
65
|
+
map_element "access-date", to: :access_date
|
66
|
+
map_element "volume", to: :volume
|
67
|
+
map_element "edition", to: :edition
|
68
|
+
map_element "conf-name", to: :conf_name
|
69
|
+
map_element "conf-date", to: :conf_date
|
70
|
+
map_element "conf-loc", to: :conf_loc
|
71
|
+
map_element "issue", to: :issue
|
72
|
+
map_element "supplement", to: :supplement
|
73
|
+
map_element "publisher-loc", to: :publisher_loc
|
74
|
+
map_element "publisher-name", to: :publisher_name
|
75
|
+
map_element "fpage", to: :fpage
|
76
|
+
map_element "lpage", to: :lpage
|
77
|
+
map_element "page-count", to: :page_count
|
78
|
+
map_element "series", to: :series
|
79
|
+
map_element "comment", to: :comment
|
80
|
+
map_element "pub-id", to: :pub_id
|
81
|
+
map_element "annotation", to: :annotation
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class Note < Lutaml::Model::Serializable
|
6
|
+
attribute :content_type, :string
|
7
|
+
attribute :id, :string
|
8
|
+
attribute :specific_use, :string
|
9
|
+
attribute :lang, :string
|
10
|
+
attribute :label, Label
|
11
|
+
attribute :p, Paragraph, collection: true
|
12
|
+
attribute :product, Product, collection: true
|
13
|
+
|
14
|
+
xml do
|
15
|
+
root "note"
|
16
|
+
|
17
|
+
map_attribute "content-type", to: :content_type
|
18
|
+
map_attribute "id", to: :id
|
19
|
+
map_attribute "specific-use", to: :specific_use
|
20
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
21
|
+
map_element "label", to: :label
|
22
|
+
map_element "p", to: :p
|
23
|
+
map_element "product", to: :product
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class Notes < Lutaml::Model::Serializable
|
6
|
+
attribute :id, :string
|
7
|
+
attribute :notes_type, :string
|
8
|
+
attribute :specific_use, :string
|
9
|
+
attribute :lang, :string
|
10
|
+
attribute :sec_meta, SecMeta
|
11
|
+
attribute :label, Label
|
12
|
+
attribute :title, Title
|
13
|
+
attribute :address, Address, collection: true
|
14
|
+
attribute :alternatives, Alternatives, collection: true
|
15
|
+
attribute :answer, Answer, collection: true
|
16
|
+
attribute :answer_set, AnswerSet, collection: true
|
17
|
+
attribute :array, Array, collection: true
|
18
|
+
attribute :block_alternatives, BlockAlternatives, collection: true
|
19
|
+
attribute :boxed_text, BoxedText, collection: true
|
20
|
+
attribute :chem_struct_wrap, ChemStructWrap, collection: true
|
21
|
+
attribute :code, Code, collection: true
|
22
|
+
attribute :explanation, Explanation, collection: true
|
23
|
+
attribute :fig, Fig, collection: true
|
24
|
+
attribute :fig_group, FigGroup, collection: true
|
25
|
+
attribute :graphic, Graphic, collection: true
|
26
|
+
attribute :media, Media, collection: true
|
27
|
+
attribute :preformat, Preformat, collection: true
|
28
|
+
attribute :question, Question, collection: true
|
29
|
+
attribute :question_wrap, QuestionWrap, collection: true
|
30
|
+
attribute :question_wrap_group, QuestionWrapGroup, collection: true
|
31
|
+
attribute :supplementary_material, SupplementaryMaterial, collection: true
|
32
|
+
attribute :table_wrap, TableWrap, collection: true
|
33
|
+
attribute :table_wrap_group, TableWrapGroup, collection: true
|
34
|
+
attribute :disp_formula, DispFormula, collection: true
|
35
|
+
attribute :disp_formula_group, DispFormulaGroup, collection: true
|
36
|
+
attribute :def_list, DefList, collection: true
|
37
|
+
attribute :list, List, collection: true
|
38
|
+
attribute :tex_math, TexMath, collection: true
|
39
|
+
attribute :mml_math, :string, collection: true
|
40
|
+
attribute :p, Paragraph, collection: true
|
41
|
+
attribute :related_article, RelatedArticle, collection: true
|
42
|
+
attribute :related_object, RelatedObject, collection: true
|
43
|
+
attribute :disp_quote, DispQuote, collection: true
|
44
|
+
attribute :speech, Speech, collection: true
|
45
|
+
attribute :statement, Statement, collection: true
|
46
|
+
attribute :verse_group, VerseGroup, collection: true
|
47
|
+
attribute :sec, Sec, collection: true
|
48
|
+
attribute :fn_group, FnGroup, collection: true
|
49
|
+
attribute :glossary, Glossary, collection: true
|
50
|
+
attribute :ref_list, RefList, collection: true
|
51
|
+
|
52
|
+
xml do
|
53
|
+
root "notes"
|
54
|
+
|
55
|
+
map_attribute "id", to: :id
|
56
|
+
map_attribute "notes-type", to: :notes_type
|
57
|
+
map_attribute "specific-use", to: :specific_use
|
58
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
59
|
+
map_element "sec-meta", to: :sec_meta
|
60
|
+
map_element "label", to: :label
|
61
|
+
map_element "title", to: :title
|
62
|
+
map_element "address", to: :address
|
63
|
+
map_element "alternatives", to: :alternatives
|
64
|
+
map_element "answer", to: :answer
|
65
|
+
map_element "answer-set", to: :answer_set
|
66
|
+
map_element "array", to: :array
|
67
|
+
map_element "block-alternatives", to: :block_alternatives
|
68
|
+
map_element "boxed-text", to: :boxed_text
|
69
|
+
map_element "chem-struct-wrap", to: :chem_struct_wrap
|
70
|
+
map_element "code", to: :code
|
71
|
+
map_element "explanation", to: :explanation
|
72
|
+
map_element "fig", to: :fig
|
73
|
+
map_element "fig-group", to: :fig_group
|
74
|
+
map_element "graphic", to: :graphic
|
75
|
+
map_element "media", to: :media
|
76
|
+
map_element "preformat", to: :preformat
|
77
|
+
map_element "question", to: :question
|
78
|
+
map_element "question-wrap", to: :question_wrap
|
79
|
+
map_element "question-wrap-group", to: :question_wrap_group
|
80
|
+
map_element "supplementary-material", to: :supplementary_material
|
81
|
+
map_element "table-wrap", to: :table_wrap
|
82
|
+
map_element "table-wrap-group", to: :table_wrap_group
|
83
|
+
map_element "disp-formula", to: :disp_formula
|
84
|
+
map_element "disp-formula-group", to: :disp_formula_group
|
85
|
+
map_element "def-list", to: :def_list
|
86
|
+
map_element "list", to: :list
|
87
|
+
map_element "tex-math", to: :tex_math
|
88
|
+
map_element "mml-math", to: :mml_math
|
89
|
+
map_element "p", to: :p
|
90
|
+
map_element "related-article", to: :related_article
|
91
|
+
map_element "related-object", to: :related_object
|
92
|
+
map_element "disp-quote", to: :disp_quote
|
93
|
+
map_element "speech", to: :speech
|
94
|
+
map_element "statement", to: :statement
|
95
|
+
map_element "verse-group", to: :verse_group
|
96
|
+
map_element "sec", to: :sec
|
97
|
+
map_element "fn-group", to: :fn_group
|
98
|
+
map_element "glossary", to: :glossary
|
99
|
+
map_element "ref-list", to: :ref_list
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class ObjectId < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :assigning_authority, :string
|
8
|
+
attribute :content_type, :string
|
9
|
+
attribute :id, :string
|
10
|
+
attribute :pub_id_type, :string
|
11
|
+
attribute :specific_use, :string
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "object-id"
|
15
|
+
|
16
|
+
map_content to: :content
|
17
|
+
map_attribute "assigning-authority", to: :assigning_authority
|
18
|
+
map_attribute "content-type", to: :content_type
|
19
|
+
map_attribute "id", to: :id
|
20
|
+
map_attribute "pub-id-type", to: :pub_id_type
|
21
|
+
map_attribute "specific-use", to: :specific_use
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class OnBehalfOf < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :id, :string
|
8
|
+
attribute :specific_use, :string
|
9
|
+
attribute :lang, :string
|
10
|
+
attribute :bold, Bold, collection: true
|
11
|
+
attribute :fixed_case, FixedCase, collection: true
|
12
|
+
attribute :italic, Italic, collection: true
|
13
|
+
attribute :monospace, Monospace, collection: true
|
14
|
+
attribute :overline, Overline, collection: true
|
15
|
+
attribute :roman, Roman, collection: true
|
16
|
+
attribute :sans_serif, SansSerif, collection: true
|
17
|
+
attribute :sc, Sc, collection: true
|
18
|
+
attribute :strike, Strike, collection: true
|
19
|
+
attribute :underline, Underline, collection: true
|
20
|
+
attribute :ruby, Ruby, collection: true
|
21
|
+
attribute :sub, Sub, collection: true
|
22
|
+
attribute :sup, Sup, collection: true
|
23
|
+
attribute :named_content, NamedContent, collection: true
|
24
|
+
attribute :styled_content, StyledContent, collection: true
|
25
|
+
attribute :institution, Institution, collection: true
|
26
|
+
attribute :institution_wrap, InstitutionWrap, collection: true
|
27
|
+
attribute :fn, Fn, collection: true
|
28
|
+
attribute :target, Target, collection: true
|
29
|
+
attribute :xref, Xref, collection: true
|
30
|
+
|
31
|
+
xml do
|
32
|
+
root "on-behalf-of"
|
33
|
+
|
34
|
+
map_content to: :content
|
35
|
+
map_attribute "id", to: :id
|
36
|
+
map_attribute "specific-use", to: :specific_use
|
37
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
38
|
+
map_element "bold", to: :bold
|
39
|
+
map_element "fixed-case", to: :fixed_case
|
40
|
+
map_element "italic", to: :italic
|
41
|
+
map_element "monospace", to: :monospace
|
42
|
+
map_element "overline", to: :overline
|
43
|
+
map_element "roman", to: :roman
|
44
|
+
map_element "sans-serif", to: :sans_serif
|
45
|
+
map_element "sc", to: :sc
|
46
|
+
map_element "strike", to: :strike
|
47
|
+
map_element "underline", to: :underline
|
48
|
+
map_element "ruby", to: :ruby
|
49
|
+
map_element "sub", to: :sub
|
50
|
+
map_element "sup", to: :sup
|
51
|
+
map_element "named-content", to: :named_content
|
52
|
+
map_element "styled-content", to: :styled_content
|
53
|
+
map_element "institution", to: :institution
|
54
|
+
map_element "institution-wrap", to: :institution_wrap
|
55
|
+
map_element "fn", to: :fn
|
56
|
+
map_element "target", to: :target
|
57
|
+
map_element "xref", to: :xref
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class OpenAccess < Lutaml::Model::Serializable
|
6
|
+
attribute :id, :string
|
7
|
+
attribute :specific_use, :string
|
8
|
+
attribute :lang, :string
|
9
|
+
attribute :p, Paragraph, collection: true
|
10
|
+
|
11
|
+
xml do
|
12
|
+
root "open-access"
|
13
|
+
|
14
|
+
map_attribute "id", to: :id
|
15
|
+
map_attribute "specific-use", to: :specific_use
|
16
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
17
|
+
map_element "p", to: :p
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class Option < Lutaml::Model::Serializable
|
6
|
+
attribute :content_type, :string
|
7
|
+
attribute :correct, :string
|
8
|
+
attribute :id, :string
|
9
|
+
attribute :specific_use, :string
|
10
|
+
attribute :lang, :string
|
11
|
+
attribute :object_id, ObjectId, collection: true
|
12
|
+
attribute :label, Label
|
13
|
+
attribute :title, Title
|
14
|
+
attribute :subtitle, Subtitle, collection: true
|
15
|
+
attribute :alt_title, AltTitle, collection: true
|
16
|
+
attribute :sec, Sec, collection: true
|
17
|
+
attribute :address, Address, collection: true
|
18
|
+
attribute :alternatives, Alternatives, collection: true
|
19
|
+
attribute :answer, Answer, collection: true
|
20
|
+
attribute :answer_set, AnswerSet, collection: true
|
21
|
+
attribute :array, Array, collection: true
|
22
|
+
attribute :block_alternatives, BlockAlternatives, collection: true
|
23
|
+
attribute :boxed_text, BoxedText, collection: true
|
24
|
+
attribute :chem_struct_wrap, ChemStructWrap, collection: true
|
25
|
+
attribute :code, Code, collection: true
|
26
|
+
attribute :fig, Fig, collection: true
|
27
|
+
attribute :fig_group, FigGroup, collection: true
|
28
|
+
attribute :graphic, Graphic, collection: true
|
29
|
+
attribute :media, Media, collection: true
|
30
|
+
attribute :preformat, Preformat, collection: true
|
31
|
+
attribute :question, Question, collection: true
|
32
|
+
attribute :question_wrap, QuestionWrap, collection: true
|
33
|
+
attribute :question_wrap_group, QuestionWrapGroup, collection: true
|
34
|
+
attribute :supplementary_material, SupplementaryMaterial, collection: true
|
35
|
+
attribute :table_wrap, TableWrap, collection: true
|
36
|
+
attribute :table_wrap_group, TableWrapGroup, collection: true
|
37
|
+
attribute :disp_formula, DispFormula, collection: true
|
38
|
+
attribute :disp_formula_group, DispFormulaGroup, collection: true
|
39
|
+
attribute :def_list, DefList, collection: true
|
40
|
+
attribute :list, List, collection: true
|
41
|
+
attribute :tex_math, TexMath, collection: true
|
42
|
+
attribute :mml_math, :string, collection: true
|
43
|
+
attribute :p, Paragraph, collection: true
|
44
|
+
attribute :related_article, RelatedArticle, collection: true
|
45
|
+
attribute :related_object, RelatedObject, collection: true
|
46
|
+
attribute :disp_quote, DispQuote, collection: true
|
47
|
+
attribute :speech, Speech, collection: true
|
48
|
+
attribute :statement, Statement, collection: true
|
49
|
+
attribute :verse_group, VerseGroup, collection: true
|
50
|
+
attribute :fn_group, FnGroup, collection: true
|
51
|
+
attribute :glossary, Glossary, collection: true
|
52
|
+
attribute :ref_list, RefList, collection: true
|
53
|
+
attribute :explanation, Explanation, collection: true
|
54
|
+
|
55
|
+
xml do
|
56
|
+
root "option"
|
57
|
+
|
58
|
+
map_attribute "content-type", to: :content_type
|
59
|
+
map_attribute "correct", to: :correct
|
60
|
+
map_attribute "id", to: :id
|
61
|
+
map_attribute "specific-use", to: :specific_use
|
62
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
63
|
+
map_element "object-id", to: :object_id
|
64
|
+
map_element "label", to: :label
|
65
|
+
map_element "title", to: :title
|
66
|
+
map_element "subtitle", to: :subtitle
|
67
|
+
map_element "alt-title", to: :alt_title
|
68
|
+
map_element "sec", to: :sec
|
69
|
+
map_element "address", to: :address
|
70
|
+
map_element "alternatives", to: :alternatives
|
71
|
+
map_element "answer", to: :answer
|
72
|
+
map_element "answer-set", to: :answer_set
|
73
|
+
map_element "array", to: :array
|
74
|
+
map_element "block-alternatives", to: :block_alternatives
|
75
|
+
map_element "boxed-text", to: :boxed_text
|
76
|
+
map_element "chem-struct-wrap", to: :chem_struct_wrap
|
77
|
+
map_element "code", to: :code
|
78
|
+
map_element "fig", to: :fig
|
79
|
+
map_element "fig-group", to: :fig_group
|
80
|
+
map_element "graphic", to: :graphic
|
81
|
+
map_element "media", to: :media
|
82
|
+
map_element "preformat", to: :preformat
|
83
|
+
map_element "question", to: :question
|
84
|
+
map_element "question-wrap", to: :question_wrap
|
85
|
+
map_element "question-wrap-group", to: :question_wrap_group
|
86
|
+
map_element "supplementary-material", to: :supplementary_material
|
87
|
+
map_element "table-wrap", to: :table_wrap
|
88
|
+
map_element "table-wrap-group", to: :table_wrap_group
|
89
|
+
map_element "disp-formula", to: :disp_formula
|
90
|
+
map_element "disp-formula-group", to: :disp_formula_group
|
91
|
+
map_element "def-list", to: :def_list
|
92
|
+
map_element "list", to: :list
|
93
|
+
map_element "tex-math", to: :tex_math
|
94
|
+
map_element "mml-math", to: :mml_math
|
95
|
+
map_element "p", to: :p
|
96
|
+
map_element "related-article", to: :related_article
|
97
|
+
map_element "related-object", to: :related_object
|
98
|
+
map_element "disp-quote", to: :disp_quote
|
99
|
+
map_element "speech", to: :speech
|
100
|
+
map_element "statement", to: :statement
|
101
|
+
map_element "verse-group", to: :verse_group
|
102
|
+
map_element "fn-group", to: :fn_group
|
103
|
+
map_element "glossary", to: :glossary
|
104
|
+
map_element "ref-list", to: :ref_list
|
105
|
+
map_element "explanation", to: :explanation
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|