def to_xml(self, _entity_class=datastore.Entity):
    entity = self._populate_entity(_entity_class)
    return entity.ToXml()
Generate an XML representation of this model instance.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/Model.to_xml