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,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class DispFormulaGroup < Lutaml::Model::Serializable
|
6
|
+
attribute :content_type, :string
|
7
|
+
attribute :id, :string
|
8
|
+
attribute :specific_use, :string
|
9
|
+
attribute :lang, :string
|
10
|
+
attribute :object_id, ObjectId, collection: true
|
11
|
+
attribute :label, Label
|
12
|
+
attribute :caption, Caption
|
13
|
+
attribute :abstract, Abstract, collection: true
|
14
|
+
attribute :kwd_group, KwdGroup, collection: true
|
15
|
+
attribute :subj_group, SubjGroup, collection: true
|
16
|
+
attribute :alt_text, AltText, collection: true
|
17
|
+
attribute :long_desc, LongDesc, collection: true
|
18
|
+
attribute :email, Email, collection: true
|
19
|
+
attribute :ext_link, ExtLink, collection: true
|
20
|
+
attribute :uri, Uri, collection: true
|
21
|
+
attribute :disp_formula, DispFormula, collection: true
|
22
|
+
attribute :disp_formula_group, DispFormulaGroup, collection: true
|
23
|
+
|
24
|
+
xml do
|
25
|
+
root "disp-formula-group"
|
26
|
+
|
27
|
+
map_attribute "content-type", to: :content_type
|
28
|
+
map_attribute "id", to: :id
|
29
|
+
map_attribute "specific-use", to: :specific_use
|
30
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
31
|
+
map_element "object-id", to: :object_id
|
32
|
+
map_element "label", to: :label
|
33
|
+
map_element "caption", to: :caption
|
34
|
+
map_element "abstract", to: :abstract
|
35
|
+
map_element "kwd-group", to: :kwd_group
|
36
|
+
map_element "subj-group", to: :subj_group
|
37
|
+
map_element "alt-text", to: :alt_text
|
38
|
+
map_element "long-desc", to: :long_desc
|
39
|
+
map_element "email", to: :email
|
40
|
+
map_element "ext-link", to: :ext_link
|
41
|
+
map_element "uri", to: :uri
|
42
|
+
map_element "disp-formula", to: :disp_formula
|
43
|
+
map_element "disp-formula-group", to: :disp_formula_group
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class DispQuote < 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 :title, Title
|
12
|
+
attribute :address, Address, collection: true
|
13
|
+
attribute :alternatives, Alternatives, collection: true
|
14
|
+
attribute :answer, Answer, collection: true
|
15
|
+
attribute :answer_set, AnswerSet, collection: true
|
16
|
+
attribute :array, Array, collection: true
|
17
|
+
attribute :block_alternatives, BlockAlternatives, collection: true
|
18
|
+
attribute :boxed_text, BoxedText, collection: true
|
19
|
+
attribute :chem_struct_wrap, ChemStructWrap, collection: true
|
20
|
+
attribute :code, Code, collection: true
|
21
|
+
attribute :explanation, Explanation, collection: true
|
22
|
+
attribute :fig, Fig, collection: true
|
23
|
+
attribute :fig_group, FigGroup, collection: true
|
24
|
+
attribute :graphic, Graphic, collection: true
|
25
|
+
attribute :media, Media, collection: true
|
26
|
+
attribute :preformat, Preformat, collection: true
|
27
|
+
attribute :question, Question, collection: true
|
28
|
+
attribute :question_wrap, QuestionWrap, collection: true
|
29
|
+
attribute :question_wrap_group, QuestionWrapGroup, collection: true
|
30
|
+
attribute :supplementary_material, SupplementaryMaterial, collection: true
|
31
|
+
attribute :table_wrap, TableWrap, collection: true
|
32
|
+
attribute :table_wrap_group, TableWrapGroup, collection: true
|
33
|
+
attribute :disp_formula, DispFormula, collection: true
|
34
|
+
attribute :disp_formula_group, DispFormulaGroup, collection: true
|
35
|
+
attribute :def_list, DefList, collection: true
|
36
|
+
attribute :list, List, collection: true
|
37
|
+
attribute :tex_math, TexMath, collection: true
|
38
|
+
attribute :mml_math, :string, collection: true
|
39
|
+
attribute :p, Paragraph, collection: true
|
40
|
+
attribute :related_article, RelatedArticle, collection: true
|
41
|
+
attribute :related_object, RelatedObject, collection: true
|
42
|
+
attribute :disp_quote, DispQuote, collection: true
|
43
|
+
attribute :speech, Speech, collection: true
|
44
|
+
attribute :statement, Statement, collection: true
|
45
|
+
attribute :verse_group, VerseGroup, collection: true
|
46
|
+
attribute :attrib, Attrib, collection: true
|
47
|
+
attribute :permissions, Permissions, collection: true
|
48
|
+
|
49
|
+
xml do
|
50
|
+
root "disp-quote"
|
51
|
+
|
52
|
+
map_attribute "content-type", to: :content_type
|
53
|
+
map_attribute "id", to: :id
|
54
|
+
map_attribute "specific-use", to: :specific_use
|
55
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
56
|
+
map_element "label", to: :label
|
57
|
+
map_element "title", to: :title
|
58
|
+
map_element "address", to: :address
|
59
|
+
map_element "alternatives", to: :alternatives
|
60
|
+
map_element "answer", to: :answer
|
61
|
+
map_element "answer-set", to: :answer_set
|
62
|
+
map_element "array", to: :array
|
63
|
+
map_element "block-alternatives", to: :block_alternatives
|
64
|
+
map_element "boxed-text", to: :boxed_text
|
65
|
+
map_element "chem-struct-wrap", to: :chem_struct_wrap
|
66
|
+
map_element "code", to: :code
|
67
|
+
map_element "explanation", to: :explanation
|
68
|
+
map_element "fig", to: :fig
|
69
|
+
map_element "fig-group", to: :fig_group
|
70
|
+
map_element "graphic", to: :graphic
|
71
|
+
map_element "media", to: :media
|
72
|
+
map_element "preformat", to: :preformat
|
73
|
+
map_element "question", to: :question
|
74
|
+
map_element "question-wrap", to: :question_wrap
|
75
|
+
map_element "question-wrap-group", to: :question_wrap_group
|
76
|
+
map_element "supplementary-material", to: :supplementary_material
|
77
|
+
map_element "table-wrap", to: :table_wrap
|
78
|
+
map_element "table-wrap-group", to: :table_wrap_group
|
79
|
+
map_element "disp-formula", to: :disp_formula
|
80
|
+
map_element "disp-formula-group", to: :disp_formula_group
|
81
|
+
map_element "def-list", to: :def_list
|
82
|
+
map_element "list", to: :list
|
83
|
+
map_element "tex-math", to: :tex_math
|
84
|
+
map_element "mml-math", to: :mml_math
|
85
|
+
map_element "p", to: :p
|
86
|
+
map_element "related-article", to: :related_article
|
87
|
+
map_element "related-object", to: :related_object
|
88
|
+
map_element "disp-quote", to: :disp_quote
|
89
|
+
map_element "speech", to: :speech
|
90
|
+
map_element "statement", to: :statement
|
91
|
+
map_element "verse-group", to: :verse_group
|
92
|
+
map_element "attrib", to: :attrib
|
93
|
+
map_element "permissions", to: :permissions
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class Edition < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :content_type, :string
|
8
|
+
attribute :designator, :string
|
9
|
+
attribute :id, :string
|
10
|
+
attribute :specific_use, :string
|
11
|
+
attribute :lang, :string
|
12
|
+
attribute :sub, Sub, collection: true
|
13
|
+
attribute :sup, Sup, collection: true
|
14
|
+
|
15
|
+
xml do
|
16
|
+
root "edition"
|
17
|
+
|
18
|
+
map_content to: :content
|
19
|
+
map_attribute "content-type", to: :content_type
|
20
|
+
map_attribute "designator", to: :designator
|
21
|
+
map_attribute "id", to: :id
|
22
|
+
map_attribute "specific-use", to: :specific_use
|
23
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
24
|
+
map_element "sub", to: :sub
|
25
|
+
map_element "sup", to: :sup
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,203 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class ElementCitation < 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 :use_type, :string
|
13
|
+
attribute :lang, :string
|
14
|
+
attribute :bold, Bold, collection: true
|
15
|
+
attribute :fixed_case, FixedCase, collection: true
|
16
|
+
attribute :italic, Italic, collection: true
|
17
|
+
attribute :monospace, Monospace, collection: true
|
18
|
+
attribute :overline, Overline, collection: true
|
19
|
+
attribute :roman, Roman, collection: true
|
20
|
+
attribute :sans_serif, SansSerif, collection: true
|
21
|
+
attribute :sc, Sc, collection: true
|
22
|
+
attribute :strike, Strike, collection: true
|
23
|
+
attribute :underline, Underline, collection: true
|
24
|
+
attribute :ruby, Ruby, collection: true
|
25
|
+
attribute :alternatives, Alternatives, collection: true
|
26
|
+
attribute :inline_graphic, InlineGraphic, collection: true
|
27
|
+
attribute :inline_media, InlineMedia, collection: true
|
28
|
+
attribute :private_char, PrivateChar, collection: true
|
29
|
+
attribute :chem_struct, ChemStruct, collection: true
|
30
|
+
attribute :inline_formula, InlineFormula, collection: true
|
31
|
+
attribute :label, Label, collection: true
|
32
|
+
attribute :abbrev, Abbrev, collection: true
|
33
|
+
attribute :index_term, IndexTerm, collection: true
|
34
|
+
attribute :index_term_range_end, IndexTermRangeEnd, collection: true
|
35
|
+
attribute :milestone_end, MilestoneEnd, collection: true
|
36
|
+
attribute :milestone_start, MilestoneStart, collection: true
|
37
|
+
attribute :named_content, NamedContent, collection: true
|
38
|
+
attribute :styled_content, StyledContent, collection: true
|
39
|
+
attribute :annotation, Annotation, collection: true
|
40
|
+
attribute :article_title, ArticleTitle, collection: true
|
41
|
+
attribute :chapter_title, ChapterTitle, collection: true
|
42
|
+
attribute :collab, Collab, collection: true
|
43
|
+
attribute :collab_alternatives, CollabAlternatives, collection: true
|
44
|
+
attribute :comment, Comment, collection: true
|
45
|
+
attribute :conf_acronym, ConfAcronym, collection: true
|
46
|
+
attribute :conf_date, ConfDate, collection: true
|
47
|
+
attribute :conf_loc, ConfLoc, collection: true
|
48
|
+
attribute :conf_name, ConfName, collection: true
|
49
|
+
attribute :conf_sponsor, ConfSponsor, collection: true
|
50
|
+
attribute :data_title, DataTitle, collection: true
|
51
|
+
attribute :date, Date, collection: true
|
52
|
+
attribute :date_in_citation, DateInCitation, collection: true
|
53
|
+
attribute :day, Day, collection: true
|
54
|
+
attribute :edition, Edition, collection: true
|
55
|
+
attribute :email, Email, collection: true
|
56
|
+
attribute :elocation_id, ElocationId, collection: true
|
57
|
+
attribute :etal, Etal, collection: true
|
58
|
+
attribute :ext_link, ExtLink, collection: true
|
59
|
+
attribute :fpage, Fpage, collection: true
|
60
|
+
attribute :gov, Gov, collection: true
|
61
|
+
attribute :institution, Institution, collection: true
|
62
|
+
attribute :institution_wrap, InstitutionWrap, collection: true
|
63
|
+
attribute :isbn, Isbn, collection: true
|
64
|
+
attribute :issn, Issn, collection: true
|
65
|
+
attribute :issn_l, IssnL, collection: true
|
66
|
+
attribute :issue, Issue, collection: true
|
67
|
+
attribute :issue_id, IssueId, collection: true
|
68
|
+
attribute :issue_part, IssuePart, collection: true
|
69
|
+
attribute :issue_title, IssueTitle, collection: true
|
70
|
+
attribute :lpage, Lpage, collection: true
|
71
|
+
attribute :month, Month, collection: true
|
72
|
+
attribute :name, Name, collection: true
|
73
|
+
attribute :name_alternatives, NameAlternatives, collection: true
|
74
|
+
attribute :object_id, ObjectId, collection: true
|
75
|
+
attribute :page_range, PageRange, collection: true
|
76
|
+
attribute :part_title, PartTitle, collection: true
|
77
|
+
attribute :patent, Patent, collection: true
|
78
|
+
attribute :person_group, PersonGroup, collection: true
|
79
|
+
attribute :pub_id, PubId, collection: true
|
80
|
+
attribute :publisher_loc, PublisherLoc, collection: true
|
81
|
+
attribute :publisher_name, PublisherName, collection: true
|
82
|
+
attribute :role, Role, collection: true
|
83
|
+
attribute :season, Season, collection: true
|
84
|
+
attribute :series, Series, collection: true
|
85
|
+
attribute :size, Size, collection: true
|
86
|
+
attribute :source, Source, collection: true
|
87
|
+
attribute :std, Std, collection: true
|
88
|
+
attribute :string_date, StringDate, collection: true
|
89
|
+
attribute :string_name, StringName, collection: true
|
90
|
+
attribute :supplement, Supplement, collection: true
|
91
|
+
attribute :trans_source, TransSource, collection: true
|
92
|
+
attribute :trans_title, TransTitle, collection: true
|
93
|
+
attribute :uri, Uri, collection: true
|
94
|
+
attribute :version, VersionElement, collection: true
|
95
|
+
attribute :volume, Volume, collection: true
|
96
|
+
attribute :volume_id, VolumeId, collection: true
|
97
|
+
attribute :volume_series, VolumeSeries, collection: true
|
98
|
+
attribute :year, Year, collection: true
|
99
|
+
attribute :sub, Sub, collection: true
|
100
|
+
attribute :sup, Sup, collection: true
|
101
|
+
|
102
|
+
xml do
|
103
|
+
root "element-citation"
|
104
|
+
|
105
|
+
map_attribute "hreflang", to: :hreflang
|
106
|
+
map_attribute "id", to: :id
|
107
|
+
map_attribute "publication-format", to: :publication_format
|
108
|
+
map_attribute "publication-type", to: :publication_type
|
109
|
+
map_attribute "publisher-type", to: :publisher_type
|
110
|
+
map_attribute "specific-use", to: :specific_use
|
111
|
+
map_attribute "use-type", to: :use_type
|
112
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
113
|
+
map_element "bold", to: :bold
|
114
|
+
map_element "fixed-case", to: :fixed_case
|
115
|
+
map_element "italic", to: :italic
|
116
|
+
map_element "monospace", to: :monospace
|
117
|
+
map_element "overline", to: :overline
|
118
|
+
map_element "roman", to: :roman
|
119
|
+
map_element "sans-serif", to: :sans_serif
|
120
|
+
map_element "sc", to: :sc
|
121
|
+
map_element "strike", to: :strike
|
122
|
+
map_element "underline", to: :underline
|
123
|
+
map_element "ruby", to: :ruby
|
124
|
+
map_element "alternatives", to: :alternatives
|
125
|
+
map_element "inline-graphic", to: :inline_graphic
|
126
|
+
map_element "inline-media", to: :inline_media
|
127
|
+
map_element "private-char", to: :private_char
|
128
|
+
map_element "chem-struct", to: :chem_struct
|
129
|
+
map_element "inline-formula", to: :inline_formula
|
130
|
+
map_element "label", to: :label
|
131
|
+
map_element "abbrev", to: :abbrev
|
132
|
+
map_element "index-term", to: :index_term
|
133
|
+
map_element "index-term-range-end", to: :index_term_range_end
|
134
|
+
map_element "milestone-end", to: :milestone_end
|
135
|
+
map_element "milestone-start", to: :milestone_start
|
136
|
+
map_element "named-content", to: :named_content
|
137
|
+
map_element "styled-content", to: :styled_content
|
138
|
+
map_element "annotation", to: :annotation
|
139
|
+
map_element "person-group", to: :person_group
|
140
|
+
map_element "article-title", to: :article_title
|
141
|
+
map_element "chapter-title", to: :chapter_title
|
142
|
+
map_element "collab", to: :collab
|
143
|
+
map_element "collab-alternatives", to: :collab_alternatives
|
144
|
+
map_element "comment", to: :comment
|
145
|
+
map_element "conf-acronym", to: :conf_acronym
|
146
|
+
map_element "conf-date", to: :conf_date
|
147
|
+
map_element "conf-loc", to: :conf_loc
|
148
|
+
map_element "conf-name", to: :conf_name
|
149
|
+
map_element "conf-sponsor", to: :conf_sponsor
|
150
|
+
map_element "data-title", to: :data_title
|
151
|
+
map_element "date", to: :date
|
152
|
+
map_element "date-in-citation", to: :date_in_citation
|
153
|
+
map_element "day", to: :day
|
154
|
+
map_element "edition", to: :edition
|
155
|
+
map_element "email", to: :email
|
156
|
+
map_element "elocation-id", to: :elocation_id
|
157
|
+
map_element "etal", to: :etal
|
158
|
+
map_element "ext-link", to: :ext_link
|
159
|
+
map_element "gov", to: :gov
|
160
|
+
map_element "institution", to: :institution
|
161
|
+
map_element "institution-wrap", to: :institution_wrap
|
162
|
+
map_element "isbn", to: :isbn
|
163
|
+
map_element "issn", to: :issn
|
164
|
+
map_element "issn-l", to: :issn_l
|
165
|
+
map_element "issue", to: :issue
|
166
|
+
map_element "issue-id", to: :issue_id
|
167
|
+
map_element "issue-part", to: :issue_part
|
168
|
+
map_element "issue-title", to: :issue_title
|
169
|
+
map_element "name", to: :name
|
170
|
+
map_element "name-alternatives", to: :name_alternatives
|
171
|
+
map_element "object-id", to: :object_id
|
172
|
+
map_element "page-range", to: :page_range
|
173
|
+
map_element "part-title", to: :part_title
|
174
|
+
map_element "patent", to: :patent
|
175
|
+
map_element "role", to: :role
|
176
|
+
map_element "season", to: :season
|
177
|
+
map_element "series", to: :series
|
178
|
+
map_element "size", to: :size
|
179
|
+
map_element "source", to: :source
|
180
|
+
map_element "std", to: :std
|
181
|
+
map_element "string-date", to: :string_date
|
182
|
+
map_element "string-name", to: :string_name
|
183
|
+
map_element "trans-source", to: :trans_source
|
184
|
+
map_element "trans-title", to: :trans_title
|
185
|
+
map_element "uri", to: :uri
|
186
|
+
map_element "version", to: :version
|
187
|
+
map_element "month", to: :month
|
188
|
+
map_element "year", to: :year
|
189
|
+
map_element "volume", to: :volume
|
190
|
+
map_element "volume-id", to: :volume_id
|
191
|
+
map_element "volume-series", to: :volume_series
|
192
|
+
map_element "supplement", to: :supplement
|
193
|
+
map_element "publisher-loc", to: :publisher_loc
|
194
|
+
map_element "publisher-name", to: :publisher_name
|
195
|
+
map_element "fpage", to: :fpage
|
196
|
+
map_element "lpage", to: :lpage
|
197
|
+
map_element "pub-id", to: :pub_id
|
198
|
+
map_element "sub", to: :sub
|
199
|
+
map_element "sup", to: :sup
|
200
|
+
end
|
201
|
+
end
|
202
|
+
end
|
203
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class ElocationId < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :content_type, :string
|
8
|
+
attribute :id, :string
|
9
|
+
attribute :seq, :string
|
10
|
+
attribute :specific_use, :string
|
11
|
+
|
12
|
+
xml do
|
13
|
+
root "elocation-id"
|
14
|
+
|
15
|
+
map_content to: :content
|
16
|
+
map_attribute "content-type", to: :content_type
|
17
|
+
map_attribute "id", to: :id
|
18
|
+
map_attribute "seq", to: :seq
|
19
|
+
map_attribute "specific-use", to: :specific_use
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class Email < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :content_type, :string
|
8
|
+
attribute :hreflang, :string
|
9
|
+
attribute :id, :string
|
10
|
+
attribute :specific_use, :string
|
11
|
+
attribute :lang, :string
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "email", mixed: true
|
15
|
+
|
16
|
+
map_content to: :content
|
17
|
+
map_attribute "content-type", to: :content_type
|
18
|
+
map_attribute "hreflang", to: :hreflang
|
19
|
+
map_attribute "id", to: :id
|
20
|
+
map_attribute "specific-use", to: :specific_use
|
21
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class EquationCount < Lutaml::Model::Serializable
|
6
|
+
attribute :count, :string
|
7
|
+
attribute :id, :string
|
8
|
+
|
9
|
+
xml do
|
10
|
+
root "equation-count"
|
11
|
+
|
12
|
+
map_attribute "count", to: :count
|
13
|
+
map_attribute "id", to: :id
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class Era < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :content_type, :string
|
8
|
+
attribute :id, :string
|
9
|
+
attribute :specific_use, :string
|
10
|
+
attribute :lang, :string
|
11
|
+
|
12
|
+
xml do
|
13
|
+
root "era"
|
14
|
+
|
15
|
+
map_content to: :content
|
16
|
+
map_attribute "content-type", to: :content_type
|
17
|
+
map_attribute "id", to: :id
|
18
|
+
map_attribute "specific-use", to: :specific_use
|
19
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class Etal < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :id, :string
|
8
|
+
attribute :specific_use, :string
|
9
|
+
attribute :lang, :string
|
10
|
+
|
11
|
+
xml do
|
12
|
+
root "etal"
|
13
|
+
|
14
|
+
map_content to: :content
|
15
|
+
map_attribute "id", to: :id
|
16
|
+
map_attribute "specific-use", to: :specific_use
|
17
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class Event < Lutaml::Model::Serializable
|
6
|
+
attribute :event_type, :string
|
7
|
+
attribute :id, :string
|
8
|
+
attribute :specific_use, :string
|
9
|
+
attribute :lang, :string
|
10
|
+
attribute :event_desc, EventDesc
|
11
|
+
attribute :article_id, ArticleId, collection: true
|
12
|
+
attribute :article_version, ArticleVersion
|
13
|
+
attribute :article_version_alternatives, ArticleVersionAlternatives
|
14
|
+
attribute :pub_date, PubDate, collection: true
|
15
|
+
attribute :pub_date_not_available, PubDateNotAvailable
|
16
|
+
attribute :date, Date, collection: true
|
17
|
+
attribute :issn, Issn, collection: true
|
18
|
+
attribute :issn_l, IssnL
|
19
|
+
attribute :isbn, Isbn, collection: true
|
20
|
+
attribute :permissions, Permissions
|
21
|
+
attribute :notes, Notes, collection: true
|
22
|
+
attribute :self_uri, SelfUri, collection: true
|
23
|
+
|
24
|
+
xml do
|
25
|
+
root "event"
|
26
|
+
|
27
|
+
map_attribute "event-type", to: :event_type
|
28
|
+
map_attribute "id", to: :id
|
29
|
+
map_attribute "specific-use", to: :specific_use
|
30
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
31
|
+
map_element "event-desc", to: :event_desc
|
32
|
+
map_element "article-id", to: :article_id
|
33
|
+
map_element "article-version", to: :article_version
|
34
|
+
map_element "article-version-alternatives",
|
35
|
+
to: :article_version_alternatives
|
36
|
+
map_element "pub-date", to: :pub_date
|
37
|
+
map_element "pub-date-not-available", to: :pub_date_not_available
|
38
|
+
map_element "date", to: :date
|
39
|
+
map_element "issn", to: :issn
|
40
|
+
map_element "issn-l", to: :issn_l
|
41
|
+
map_element "isbn", to: :isbn
|
42
|
+
map_element "permissions", to: :permissions
|
43
|
+
map_element "notes", to: :notes
|
44
|
+
map_element "self-uri", to: :self_uri
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Niso
|
4
|
+
module Jats
|
5
|
+
class EventDesc < Lutaml::Model::Serializable
|
6
|
+
attribute :content, :string
|
7
|
+
attribute :id, :string
|
8
|
+
attribute :specific_use, :string
|
9
|
+
attribute :lang, :string
|
10
|
+
attribute :email, Email, collection: true
|
11
|
+
attribute :ext_link, ExtLink, collection: true
|
12
|
+
attribute :uri, Uri, collection: true
|
13
|
+
attribute :article_id, ArticleId, collection: true
|
14
|
+
attribute :issn, Issn, collection: true
|
15
|
+
attribute :issn_l, IssnL, collection: true
|
16
|
+
attribute :isbn, Isbn, collection: true
|
17
|
+
attribute :article_version, ArticleVersion, collection: true
|
18
|
+
attribute :article_version_alternatives, ArticleVersionAlternatives,
|
19
|
+
collection: true
|
20
|
+
attribute :date, Date, collection: true
|
21
|
+
attribute :string_date, StringDate, collection: true
|
22
|
+
attribute :pub_date, PubDate, collection: true
|
23
|
+
attribute :pub_date_not_available, PubDateNotAvailable, collection: true
|
24
|
+
|
25
|
+
xml do
|
26
|
+
root "event-desc"
|
27
|
+
|
28
|
+
map_content to: :content
|
29
|
+
map_attribute "id", to: :id
|
30
|
+
map_attribute "specific-use", to: :specific_use
|
31
|
+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
|
32
|
+
map_element "email", to: :email
|
33
|
+
map_element "ext-link", to: :ext_link
|
34
|
+
map_element "uri", to: :uri
|
35
|
+
map_element "article-id", to: :article_id
|
36
|
+
map_element "issn", to: :issn
|
37
|
+
map_element "issn-l", to: :issn_l
|
38
|
+
map_element "isbn", to: :isbn
|
39
|
+
map_element "article-version", to: :article_version
|
40
|
+
map_element "article-version-alternatives",
|
41
|
+
to: :article_version_alternatives
|
42
|
+
map_element "date", to: :date
|
43
|
+
map_element "string-date", to: :string_date
|
44
|
+
map_element "pub-date", to: :pub_date
|
45
|
+
map_element "pub-date-not-available", to: :pub_date_not_available
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|