code: def to_text(self, name, **kw):
          
  
          s = StringIO.StringIO()
          for rds in self.rdatasets:
              print >> s, rds.to_text(name, **kw)
          return s.getvalue()[:-1]
docs: Convert a node to text format.
  
          Each rdataset at the node is printed.  Any keyword arguments
          to this method are passed on to the rdataset's to_text() method.
          @param name: the owner name of the rdatasets
          @type name: dns.name.Name object
          @rtype: string