pygal.etree module

Wrapper for seamless lxml.etree / xml.etree usage depending on whether lxml is installed or not.

class pygal.etree.Etree[source]

Bases: object

Etree wrapper using lxml.etree or standard xml.etree

to_etree()[source]

Force xml.etree to be used

to_lxml()[source]

Force lxml.etree to be used