code: def docx_table_from_xml_node(table_node: ElementTree.Element,
                               level: int,
                               config: TextProcessingConfig) -> str:
      
      table = CustomDocxTable()
      for row_node in table_node:
          if row_node.tag != DOCX_TABLE_ROW:
              continue
          table.new_row()
          for cell_node in row_node:
              if cell_node.tag != DOCX_TABLE_CELL:
                  continue
              table.new_cell()
              for para_node in cell_node:
                  text = docx_text_from_xml_node(para_node, level, config)
                  if text:
                      table.add_paragraph(text)
      return docx_process_table(table, config)
docs: Converts an XML node representing a DOCX table into a textual
      representation.
  
      Args:
          table_node: XML node
          level: current level in XML hierarchy (used for recursion; start level
              is 0)
          config: :class:`TextProcessingConfig` control object
  
      Returns:
          string representation