HTML Files

class bkgen.html.HTML(fn=None, root=None, tree=None, parser=None, encoding=’UTF-8’, schemas=None, **args)[source]

Bases: bxml.xml.XML

ROOT_TAG = ‘{http://www.w3.org/1999/xhtml}html’
document(fn=None)[source]

convert an xhtml file into a pub:document

documents()[source]
images()[source]
metadata()[source]

return a Metadata object with the metadata in the document

stylesheet()[source]