# File lib/cimi/model/schema.rb, line 32 def from_xml(xml, model) model[@name] = xml[@xml_name].first if xml.has_key?(@xml_name) end