Sha256: 2055322b10263ca3c4e995ffa8755a9b9bf8d76ba6b1e0a9a40e22cd11e31428
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
require "isodoc" module IsoDoc module Iho class Metadata < IsoDoc::Generic::Metadata def configuration Metanorma::Iho.configuration end def series(xml, _out) set(:series, xml.at(ns("//bibdata/series[@type = 'main']/title"))&.text) a = xml.at(ns("//bibdata/series[@type = 'main']/abbreviation"))&.text and set(:seriesabbr, a) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems