code: def xml_tag (self, name, content, attrs=None):
          
          self.write(self.indent*self.level)
          self.write(u"<%s" % xmlquote(name))
          if attrs:
              for aname, avalue in attrs.items():
                  args = (xmlquote(aname), xmlquoteattr(avalue))
                  self.write(u' %s="%s"' % args)
          self.writeln(u">%s</%s>" % (xmlquote(content), xmlquote(name)))
docs: Write XML tag with content.