server/lib/cimi/model/schema.rb
def from_xml(xml, model = {})
    @attributes.freeze
    @attributes.each { |attr| attr.from_xml(xml, model) }
    model
  end
#
# Attributes describe how we extract values from XML/JSON
#
Attributes describe how we extract values from XML/JSON
Attributes describe how we extract values from XML / JSON
def from_xml(xml, model = {})
    @attributes.freeze
    @attributes.each { |attr| attr.from_xml(xml, model) }
    model
  end
def from_xml ( xml , model = { } ) @attributes . freeze @attributes . each { | attr | attr . from_xml ( xml , model ) } model end
Attributes describe how we extract values from XML/JSON
Attributes describe how we extract values from XML / JSON
xml
model