'Return a XML representation of the whole object.
If _with_add_keys is False, dinamically generated keys are excluded.'

def asXML(self, _with_add_keys=True):

    (beginTag, endTag) = _tag4TON(self, addAccessSystem=True, _containerOnly=True)
    resList = [beginTag]
    for key in self.keys():
        value = self.getAsXML(key, _with_add_keys=_with_add_keys)
        if (not value):
            continue
        resList.append(value)
    resList.append(endTag)
    head = (_xmlHead % self.__class__.__name__.lower())
    return (head + u''.join(resList))
