class ActiveFedora::Datastream

def self.from_xml(tmpl, el)

def self.from_xml(tmpl, el)
  el.elements.each("foxml:xmlContent/fields") do |f|
    tmpl.send("#{f.name}_append", f.text)
  end
  tmpl.instance_variable_set(:@dirty, false)
  tmpl.control_group= el.attributes['CONTROL_GROUP']
  tmpl
end