Sha256: d852d6944eec9a133478a1688a0671edcb7b886ccbb89e72338023d2f2be2b28
Contents?: true
Size: 1.85 KB
Versions: 47
Compression:
Stored size: 1.85 KB
Contents
# ISO <<Class>> CI_Series # 19115-2 writer output in XML # History: # Stan Smith 2017-11-02 original script module ADIWG module Mdtranslator module Writers module Iso19110 class CI_Series def initialize(xml, hResponseObj) @xml = xml @hResponseObj = hResponseObj end def writeXML(hSeries) @xml.tag!('gmd:CI_Series') do # series - name s = hSeries[:seriesName] unless s.nil? @xml.tag!('gmd:name') do @xml.tag!('gco:CharacterString', s) end end if s.nil? && @hResponseObj[:writerShowTags] @xml.tag!('gmd:name') end # series - issue identification s = hSeries[:seriesIssue] unless s.nil? @xml.tag!('gmd:issueIdentification') do @xml.tag!('gco:CharacterString', s) end end if s.nil? && @hResponseObj[:writerShowTags] @xml.tag!('gmd:issueIdentification') end # series - page s = hSeries[:issuePage] unless s.nil? @xml.tag!('gmd:page') do @xml.tag!('gco:CharacterString', s) end end if s.nil? && @hResponseObj[:writerShowTags] @xml.tag!('gmd:page') end end # CI_Series tag end # writeXML end # CI_Series class end end end end
Version data entries
47 entries across 47 versions & 1 rubygems