Sha256: 5fb8b5d2b3317ad45b863c3be4be7de77dadb7972548b83bcad33bc86976bb51
Contents?: true
Size: 1.06 KB
Versions: 18
Compression:
Stored size: 1.06 KB
Contents
# Reader - fgdc to internal data structure # unpack fgdc series # History: # Stan Smith 2017-08-17 original script require 'nokogiri' require 'adiwg/mdtranslator/internal/internal_metadata_obj' module ADIWG module Mdtranslator module Readers module Fgdc module Series def self.unpack(xSerInfo, hResponseObj) # instance classes needed in script intMetadataClass = InternalMetadata.new hSeries = intMetadataClass.newSeries # series 8.7.1 (sername) - series name name = xSerInfo.xpath('./sername').text unless name.empty? hSeries[:seriesName] = name end # series 8.7.2 (issue) - series issue issue = xSerInfo.xpath('./issue').text unless issue.empty? hSeries[:seriesIssue] = issue end return hSeries end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems