NCXToc

An NCX TOC tree.

class yael.ncxtoc.NCXToc(internal_path=None, obj=None, string=None)[source]

Build an NCX TOC tree or parse it from obj or string.

add_child(child)[source]

Add the given child to this NCX TOC.

Parameters:child (yael.ncxtocnode.NCXTocNode) – the node child to be added
children

The children elements of this NCX TOC.

Return type:list of yael.ncxtocnode.NCXTocNode objects
v_docauthor

The value of the docAuthor element.

Return type:str
v_doctitle

The value of the docTitle element.

Return type:str
v_dtb_depth

The value of the dtb:depth attribute.

Return type:str
v_dtb_generator

The value of the dtb:generator attribute.

Return type:str
v_dtb_maxpagenumber

The value of the dtb:maxPageNumber attribute.

Return type:str
v_dtb_totalpagecount

The value of the dtb:totalPageCount attribute.

Return type:str
v_dtb_uid

The value of the dtb:uid attribute.

Return type:str
v_id

The value of the id attribute.

Return type:str
v_version

The value of the version attribute.

Return type:str
v_xml_lang

The value of the xml:lang attribute.

Return type:str