def ToXml(self): return u'<category term="%s" label=%s />' % (Category.TERM, saxutils.quoteattr(self))