# File lib/cimi/model/base.rb, line 151 def self.from_xml(text) xml = XmlSimple.xml_in(text, :force_content => true) model = self.new @schema.from_xml(xml, model) model end