Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 23800

Add extra namespace to html tag using EpubContainer

$
0
0
If I am using the standard calibre EpubContainer and I want to add an extra namespace into each <html> tag, what would be the best way to go about it? e.g.
Code:

container = get_container(path_to_epub)
for name in container.manifest_items_of_type(OEB_DOCS):
    root = container.parsed(name)

    ??? what comes next ???


Viewing all articles
Browse latest Browse all 23800

Trending Articles