Sha256: fe0b2a217d1af0aa135c27fadc2e7ae3833d188cde003bc834038b30e934cb47

Contents?: true

Size: 657 Bytes

Versions: 1

Compression:

Stored size: 657 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class TexMath < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :content_type, :string
      attribute :id, :string
      attribute :notation, :string
      attribute :specific_use, :string
      attribute :version, :string

      xml do
        root "tex-math"

        map_content to: :content
        map_attribute "content-type", to: :content_type
        map_attribute "id", to: :id
        map_attribute "notation", to: :notation
        map_attribute "specific-use", to: :specific_use
        map_attribute "version", to: :version
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
niso-jats-0.1.1 lib/niso/jats/tex_math.rb