'Called to handle each field on an object (except for ForeignKeys and
ManyToManyFields)'

def handle_field(self, obj, field):

    self.indent(2)
    self.xml.startElement('field', {'name': field.name, 'type': field.get_internal_type()})
    if (getattr(obj, field.name) is not None):
        self.xml.characters(field.value_to_string(obj))
    else:
        self.xml.addQuickElement('None')
    self.xml.endElement('field')
