NCXTocNode¶
A node in a NCX TOC tree.
-
class
yael.ncxtocnode.
NCXTocNode
(internal_path=None, obj=None, string=None)[source]¶ Build a node in a NCX TOC tree or parse it from obj or string.
-
add_child
(child)[source]¶ Add the given child to this node.
Parameters: child ( yael.ncxtocnode.NCXTocNode
) – the node child to be added
-
children
¶ The children elements of this node.
Return type: list of yael.ncxtocnode.NCXTocNode
objects
-
v_id
¶ The value of the id attribute.
Return type: str
-
v_play_order
¶ The value of the playOrder attribute.
Return type: str
-
v_src
¶ The value of the src attribute.
Return type: str
-
v_text
¶ The value of the text attribute.
Return type: str
-