lib/adiwg/mdtranslator/writers/iso/classes/class_keyword.rb in adiwg-mdtranslator-0.12.1 vs lib/adiwg/mdtranslator/writers/iso/classes/class_keyword.rb in adiwg-mdtranslator-1.0.0rc1
- old
+ new
@@ -22,11 +22,11 @@
end
def writeXML(hDKeyword)
# classes used
- citationClass = $WriterNS::CI_Citation.new(@xml)
- keywordCode = $WriterNS::MD_KeywordTypeCode.new(@xml)
+ citationClass = $IsoNS::CI_Citation.new(@xml)
+ keywordCode = $IsoNS::MD_KeywordTypeCode.new(@xml)
@xml.tag!('gmd:MD_Keywords') do
# keywords - keyword - required
aKeywords = hDKeyword[:keyword]