code: def plain(self):
          
          result = ["<%s" % (self.qname(),), self.nsdeclarations()]
          for a in self.attributes:
              result.append(" %s" % (unicode(a),))
          if self.isempty():
              result.append("/>")
              return "".join(result)
          result.append(">")
          if self.hasText():
              result.append(self.text.escape())
          for c in self.children:
              result.append(c.plain())
          result.append("</%s>" % (self.qname(),))
          return "".join(result)
docs: Get a string representation of this XML fragment.
  
          @return: A I{plain} string.
          @rtype: basestring