Sha256: 55b6e58eacccaec8cd77f732d799cdfe085281d9663efc22b0f9c3b15caaf23d
Contents?: true
Size: 762 Bytes
Versions: 1
Compression:
Stored size: 762 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class TitleGroup < Lutaml::Model::Serializable attribute :id, :string attribute :article_title, ArticleTitle attribute :subtitle, Subtitle, collection: true attribute :trans_title_group, TransTitleGroup, collection: true attribute :alt_title, AltTitle, collection: true attribute :fn_group, FnGroup xml do root "title-group" map_attribute "id", to: :id map_element "article-title", to: :article_title map_element "subtitle", to: :subtitle map_element "trans-title-group", to: :trans_title_group map_element "alt-title", to: :alt_title map_element "fn-group", to: :fn_group end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/title_group.rb |