Home | Trees | Index | Help |
|
---|
Package lxml :: Module etree :: Class XPathElementEvaluator |
|
object
--+ |_XPathEvaluatorBase
--+ | XPathElementEvaluator
XPathDocumentEvaluator
Create an XPath evaluator for an element.
Absolute XPath expressions (starting with '/') will be evaluated against the ElementTree as returned by getroottree().
Additional namespace declarations can be passed with the 'namespace' keyword argument. EXSLT regular expression support can be disabled with the 'regexp' boolean keyword (defaults to True).Method Summary | |
---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__call__(...) <==> x(...) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Register a namespace with the XPath context. | |
Register a prefix -> uri dict. | |
Inherited from _XPathEvaluatorBase | |
Evaluate an XPath expression. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
PyCObject |
__pyx_vtable__ = <PyCObject object at 0x401cbaa0>
|
Inherited from _XPathEvaluatorBase | |
getset_descriptor |
error_log = <attribute 'error_log' of 'lxml.etree._XPath...
|
Method Details |
---|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
__call__(x,
...)
x.__call__(...) <==> x(...)
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
registerNamespace(...)Register a namespace with the XPath context. |
registerNamespaces(...)Register a prefix -> uri dict. |
Class Variable Details |
---|
__pyx_vtable__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Aug 18 12:44:27 2007 | http://epydoc.sf.net |