Module: ActiveFedora::Datastreams::NokogiriDatastreams::ClassMethods

Defined in:
lib/active_fedora/datastreams/nokogiri_datastreams.rb

Instance Method Summary collapse

Instance Method Details

#decorate_ng_xml(xml) ⇒ Object


12
13
14
# File 'lib/active_fedora/datastreams/nokogiri_datastreams.rb', line 12

def decorate_ng_xml(xml)
  xml
end

#xml_templateObject


8
9
10
# File 'lib/active_fedora/datastreams/nokogiri_datastreams.rb', line 8

def xml_template
  Nokogiri::XML::Document.parse("<xml/>")
end