# File lib/active_resource/base.rb, line 858
    def to_xml(options={})
      attributes.to_xml({:root => self.class.element_name}.merge(options))
    end