ElementInclude

Limited XInclude support for the ElementTree package.

While lxml.etree has full support for XInclude (see etree.ElementTree.xinclude()), this module provides a simpler, pure Python, ElementTree compatible implementation that supports a simple form of custom URL resolvers.

Module Contents

Functions

default_loader(href,parse,encoding=None)
_lxml_default_loader(href,parse,encoding=None,parser=None)
_wrap_et_loader(loader)
include(elem,loader=None,base_url=None)
_include(elem,loader=None,_parent_hrefs=None,base_url=None)
class FatalIncludeError
default_loader(href, parse, encoding=None)
_lxml_default_loader(href, parse, encoding=None, parser=None)
_wrap_et_loader(loader)
include(elem, loader=None, base_url=None)
_include(elem, loader=None, _parent_hrefs=None, base_url=None)