# File lib/cimi/model/schema.rb, line 163 def to_xml(model, xml) ary = (model[name] || []).map { |elt| @struct.convert_to_xml(elt) } xml[xml_name] = ary unless ary.empty? end