NavElement

A <nav> element in the Navigation Document.

class yael.navelement.NavElement(internal_path=None, obj=None, string=None)[source]

Build a <nav> element in the Navigation Document or parse it from obj or string.

add_child(child)[source]

Add the given child to this <nav>.

Parameters:child (yael.navnode.NavNode) – the node child to be added
children

The children elements of this <nav>.

Return type:list of yael.navnode.NavNode objects
title

The title of this <nav>.

Return type:str
v_epub_type

The value of the epub:type attribute.

Return type:str
v_id

The value of the id attribute.

Return type:str