lxml.ElementInclude module
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.
- exception lxml.ElementInclude.FatalIncludeError[source]
- Bases: - LxmlSyntaxError- add_note(object, /)
- Exception.add_note(note) – add a note to the exception 
 - with_traceback(object, /)
- Exception.with_traceback(tb) – set self.__traceback__ to tb and return self. 
 - args
 - end_lineno
- exception end lineno 
 - end_offset
- exception end offset 
 - filename
- exception filename 
 - lineno
- exception lineno 
 - msg
- exception msg 
 - offset
- exception offset 
 - print_file_and_line
- exception print_file_and_line 
 - text
- exception text 
 
- exception lxml.ElementInclude.LimitedRecursiveIncludeError[source]
- Bases: - FatalIncludeError- add_note(object, /)
- Exception.add_note(note) – add a note to the exception 
 - with_traceback(object, /)
- Exception.with_traceback(tb) – set self.__traceback__ to tb and return self. 
 - args
 - end_lineno
- exception end lineno 
 - end_offset
- exception end offset 
 - filename
- exception filename 
 - lineno
- exception lineno 
 - msg
- exception msg 
 - offset
- exception offset 
 - print_file_and_line
- exception print_file_and_line 
 - text
- exception text