# File lib/dm-serializer/to_xml.rb, line 11 def to_xml(opts = {}) xml = XML.serializer xml.output(to_xml_document(opts)).to_s end