def addQuickElement(self, name, contents=None, attrs=None):
        if attrs is None:
            attrs = {}
        self.startElement(name, attrs)
        if contents is not None:
            self.characters(contents)
        self.endElement(name)


# based on django.utils.feedgenerator.rfc3339_date
Convenience method for adding an element with no children
dataset/ETHPy150Open llazzaro/django-scheduler/schedule/feeds/atom.py/SimplerXMLGenerator.addQuickElement