Skip to content

Commit

Permalink
removed duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
dimus committed Dec 30, 2013
1 parent a55748c commit c262952
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/dwc-archive/generator_eml_xml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,6 @@ def build_additional_metadata(xml)
end
end

def build_header(xml)
xml.eml(packageId: "%s/%s" % [@data[:id], timestamp],
system: @data[:system] || 'http://globalnames.org',
:'xml:lang' => 'en',
:'xmlns:eml' => 'eml://ecoinformatics.org/eml-2.1.1',
:'xmlns:md' => 'eml://ecoinformatics.org/methods-2.1.1',
:'xmlns:proj' => 'eml://ecoinformatics.org/project-2.1.1',
:'xmlns:d' => 'eml://ecoinformatics.org/dataset-2.1.1',
:'xmlns:res' => 'eml://ecoinformatics.org/resource-2.1.1',
:'xmlns:dc' => 'http://purl.org/dc/terms/',
:'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
:'xsi:schemaLocation' => 'eml_uri')
end

def build_person(xml, data)
a = data
xml.individualName do
Expand Down

0 comments on commit c262952

Please sign in to comment.