server/lib/cimi/model/schema.rb
def to_xml(model, xml = {})
    @attributes.freeze
    @attributes.each { |attr| attr.to_xml(model, xml) }
    xml
  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 to_xml(model, xml = {})
    @attributes.freeze
    @attributes.each { |attr| attr.to_xml(model, xml) }
    xml
  end
def to_xml ( model , xml = { } ) @attributes . freeze @attributes . each { | attr | attr . to_xml ( model , xml ) } xml end
Attributes describe how we extract values from XML/JSON
Attributes describe how we extract values from XML / JSON
model
xml