Home | Trees | Indices | Help |
|
---|
|
object --+ | _XPathEvaluatorBase --+ | XPathElementEvaluator
XPathElementEvaluator(self, element, namespaces=None, extensions=None, regexp=True) 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).
Instance Methods | |||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
Inherited from Inherited from |
Method Details |
Evaluate an XPath expression on the document. Variables may be provided as keyword arguments. Note that namespaces are currently not supported for variables. Absolute XPath expressions (starting with '/') will be evaluated against the ElementTree as returned by getroottree(). |
|
|
Deprecated: use register_namespace() instead |
Deprecated: use register_namespaces() instead |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Fri Dec 12 22:47:01 2008 | http://epydoc.sourceforge.net |