lib/adiwg/mdtranslator/writers/iso/classes/class_citation.rb in adiwg-mdtranslator-0.12.1 vs lib/adiwg/mdtranslator/writers/iso/classes/class_citation.rb in adiwg-mdtranslator-1.0.0rc1
- old
+ new
@@ -29,13 +29,13 @@
end
def writeXML(hCitation)
# classes used
- presFormClass = $WriterNS::CI_PresentationFormCode.new(@xml)
- rPartyClass = $WriterNS::CI_ResponsibleParty.new(@xml)
- dateClass = $WriterNS::CI_Date.new(@xml)
- idClass = $WriterNS::MD_Identifier.new(@xml)
+ presFormClass = $IsoNS::CI_PresentationFormCode.new(@xml)
+ rPartyClass = $IsoNS::CI_ResponsibleParty.new(@xml)
+ dateClass = $IsoNS::CI_Date.new(@xml)
+ idClass = $IsoNS::MD_Identifier.new(@xml)
@xml.tag!('gmd:CI_Citation') do
# citation - title - required
s = hCitation[:citTitle]