[ Module Hierarchy
| Class Hierarchy ]
Class Hierarchy
- xml.sax.handler.ContentHandler:
Interface for receiving logical document content events.
- lxml.etree.ErrorDomains:
Libxml2 error domains
- lxml.etree.ErrorLevels:
Libxml2 error levels
- lxml.etree.ErrorTypes:
Libxml2 error types
- lxml.tests.common_imports.LargeFileLike
- doctest.OutputChecker:
A class used to check the whether the actual output from a doctest
example matches the expected output.
- lxml.etree.RelaxNGErrorTypes:
Libxml2 RelaxNG error types
- lxml.tests.common_imports.SillyFileLike
- object:
The most base type
- exceptions.BaseException:
Common base class for all exceptions
- exceptions.Exception:
Common base class for all non-exit exceptions.
- lxml.etree.Error
- exceptions.StandardError:
Base class for all standard Python exceptions that do not represent
interpreter exiting.
- exceptions.AssertionError:
Assertion failed.
- exceptions.LookupError:
Base class for lookup errors.
- exceptions.RuntimeError:
Unspecified run-time error.
- exceptions.SyntaxError:
Invalid syntax.
- lxml.html.clean.Cleaner:
Instances cleans the document of each of the possible offending
elements.
- lxml.html.formfill.DefaultErrorCreator
- lxml.etree.DocInfo:
Document information provided by parser and DTD.
- elementtree.ElementTree.Element
- lxml.etree.ElementClassLookup:
ElementClassLookup(self)
- lxml.objectify.ElementMaker:
ElementMaker(self, namespace=None, nsmap=None, annotate=True, makeelement=None)
- lxml.builder.ElementMaker:
Element generator factory.
- lxml.etree.ElementTextIterator:
ElementTextIterator(self, element, tag=None, with_tail=True)
Iterates over the text content of a subtree.
- elementtree.ElementTree.ElementTree
- lxml.sax.ElementTreeContentHandler:
Build an lxml ElementTree from SAX events.
- lxml.sax.ElementTreeProducer:
Produces SAX events for an element and children.
- lxml.objectify.ObjectPath:
ObjectPath(path)
Immutable object that represents a compiled object path.
- lxml.objectify.PyType:
PyType(self, name, type_check, type_class, stringify=None)
User defined type.
- lxml.etree.QName:
QName(text_or_uri, tag=None)
- elementtree.ElementTree.QName
- lxml.etree.Resolver:
This is the base class of all resolvers.
- unittest.TestCase:
A class whose instances are single test cases.
- elementtree.ElementTree.TreeBuilder
- lxml.etree.XInclude:
XInclude(self)
XInclude processor.
- elementtree.ElementTree.XMLParser
- lxml.etree.XSLT:
XSLT(self, xslt_input, extensions=None, regexp=True, access_control=None)
- lxml.etree.XSLTAccessControl:
XSLTAccessControl(self, read_file=True, write_file=True, create_dir=True, read_network=True, write_network=True)
- lxml.etree._BaseErrorLog
- lxml.etree.PyErrorLog:
PyErrorLog(self, logger_name=None)
A global error log that connects to the Python stdlib logging package.
- lxml.etree._BaseParser
- lxml.etree._FeedParser
- lxml.etree.HTMLParser:
HTMLParser(self, recover=True, no_network=True, remove_blank_text=False, compact=True, remove_comments=False, remove_pis=False, target=None, encoding=None, schema=None)
The HTML parser.
- lxml.etree.XMLParser:
XMLParser(self, attribute_defaults=False, dtd_validation=False, load_dtd=False, no_network=True, ns_clean=False, recover=False, remove_blank_text=False, compact=True, resolve_entities=True, remove_comments=False, remove_pis=False, target=None, encoding=None, schema=None)
The XML parser.
- lxml.etree.ETCompatXMLParser:
ETCompatXMLParser(self, attribute_defaults=False, dtd_validation=False, load_dtd=False, no_network=True, ns_clean=False, recover=False, remove_blank_text=False, compact=True, resolve_entities=True, remove_comments=True, remove_pis=True, target=None, encoding=None, schema=None)
An XML parser with an ElementTree compatible default setup.
- lxml.etree.iterparse:
iterparse(self, source, events=("end",), tag=None, attribute_defaults=False, dtd_validation=False, load_dtd=False, no_network=True, remove_blank_text=False, remove_comments=False, remove_pis=False, encoding=None, html=False, schema=None)
Incremental parser.
- lxml.etree._Element:
Element class.
- lxml.etree.ElementBase:
All custom Element classes must inherit from this one.
- lxml.etree.__ContentOnlyElement
- lxml.etree._Comment
- lxml.etree._Entity
- lxml.etree._ProcessingInstruction
- lxml.etree.PIBase:
All custom Processing Instruction classes must inherit from this one.
- lxml.etree._ElementTagMatcher
- lxml.etree.ElementDepthFirstIterator:
ElementDepthFirstIterator(self, node, tag=None, inclusive=True)
Iterates over an element and its sub-elements in document order (depth
first pre-order).
- lxml.etree._ElementIterator
- lxml.etree._SaxParserTarget
- lxml.etree.TreeBuilder:
TreeBuilder(self, element_factory=None, parser=None)
Parser target that builds a tree.
- lxml.etree._Validator:
Base class for XML validators.
- lxml.etree.DTD:
DTD(self, file=None, external_id=None)
A DTD validator.
- lxml.etree.RelaxNG:
RelaxNG(self, etree=None, file=None)
Turn a document into a Relax NG validator.
- lxml.etree.Schematron:
Schematron(self, etree=None, file=None)
A Schematron validator.
- lxml.etree.XMLSchema:
XMLSchema(self, etree=None, file=None)
Turn a document into an XML Schema validator.
- lxml.etree._XPathEvaluatorBase
- lxml.etree.XPath:
XPath(self, path, namespaces=None, extensions=None, regexp=True)
A compiled XPath expression that can be called on Elements and ElementTrees.
- lxml.etree.XPathElementEvaluator:
XPathElementEvaluator(self, element, namespaces=None, extensions=None, regexp=True)
Create an XPath evaluator for an element.
- lxml.etree.iterwalk:
iterwalk(self, element_or_tree, events=("end",), tag=None)