class Ddr::Metadata::PremisEvent
Constants
- PREMIS_SCHEMA
- PREMIS_VERSION
- PREMIS_XMLNS
Public Class Methods
xml_template()
click to toggle source
# File lib/ddr/metadata/premis_event.rb, line 47 def self.xml_template builder = Nokogiri::XML::Builder.new do |xml| xml.event(:xmlns => PREMIS_XMLNS, "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance", "xsi:schemaLocation" => "#{PREMIS_XMLNS} #{PREMIS_SCHEMA}", :version => PREMIS_VERSION) end builder.doc end