TGroup#

class src.pyconverter.xml2py.ast_tree.TGroup(element, parse_children=True)#

Bases: Element

Provides the tgroup element, which contains the header and body rows of a table.

Overview#

to_rst

Return a string to enable converting the element to an RST format.

n_col

Number of columns.

thead

THead.

tbody

TBody.

row_in_tbody

List of the rows in the TBody.

Import detail#

from src.pyconverter.xml2py.ast_tree import TGroup

Property detail#

property TGroup.n_col#

Number of columns.

property TGroup.thead#

THead.

property TGroup.tbody#

TBody.

property TGroup.row_in_tbody#

List of the rows in the TBody.

Method detail#

TGroup.to_rst(indent='', links=None, base_url=None)#

Return a string to enable converting the element to an RST format.