def process_attributes(data, keep_xsi_type = false)
      if keep_xsi_type
        xsi_type = data.delete(:"@xsi:type")
        data[:xsi_type] = xsi_type if xsi_type
      end
      data.reject! {|key, value| key.to_s.start_with?('@')}
    end
def process_attributes(data, keep_xsi_type = false)
      if keep_xsi_type
        xsi_type = data.delete(:"@xsi:type")
        data[:xsi_type] = xsi_type if xsi_type
      end
      data.reject! {|key, value| key.to_s.start_with?('@')}
    end
Handles attributes received from Savon.