code: def to_text(self):
          
  
          table = ''
          if self.caption is not None:
              table += '%s</caption>\n' % self.caption
          table += '\n'
          for row in self.rows:
              table += row.to_text()
          return table
docs: Render a Table MessageElement as plain text.
  
          :returns: The text representation of the Table MessageElement
          :rtype: basestring