Sha256: c5348a01e5cb208b55ff0c747af5477c10f14767c8314cd50233d3d43e7619f6
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
# frozen_string_literal: true module Niso module Jats class Conference < Lutaml::Model::Serializable attribute :content_type, :string attribute :hreflang, :string attribute :id, :string attribute :specific_use, :string attribute :lang, :string attribute :conf_date, ConfDate attribute :conf_name, ConfName, collection: true attribute :conf_acronym, ConfAcronym, collection: true attribute :conf_num, ConfNum attribute :conf_loc, ConfLoc attribute :conf_sponsor, ConfSponsor, collection: true attribute :conf_theme, ConfTheme xml do root "conference" map_attribute "content-type", to: :content_type map_attribute "hreflang", to: :hreflang map_attribute "id", to: :id map_attribute "specific-use", to: :specific_use map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" map_element "conf-date", to: :conf_date map_element "conf-name", to: :conf_name map_element "conf-acronym", to: :conf_acronym map_element "conf-num", to: :conf_num map_element "conf-loc", to: :conf_loc map_element "conf-sponsor", to: :conf_sponsor map_element "conf-theme", to: :conf_theme end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/conference.rb |