Sha256: 4982fd83b16a643aa2e3753cb6bed117df55f98ce5107cd2e7e40c7b84daa0bc
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
# frozen_string_literal: true module Niso module Jats class List < Lutaml::Model::Serializable attribute :continued_from, :string attribute :id, :string attribute :list_content, :string attribute :list_type, :string attribute :prefix_word, :string attribute :specific_use, :string attribute :lang, :string attribute :object_id, ObjectId, collection: true attribute :label, Label attribute :title, Title attribute :list_item, ListItem, collection: true xml do root "list" map_attribute "continued-from", to: :continued_from map_attribute "id", to: :id map_attribute "list-content", to: :list_content map_attribute "list-type", to: :list_type map_attribute "prefix-word", to: :prefix_word map_attribute "specific-use", to: :specific_use map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" map_element "object-id", to: :object_id map_element "label", to: :label map_element "title", to: :title map_element "list-item", to: :list_item end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/list.rb |