Home | Trees | Indices | Help |
|
---|
|
object --+ | _XPathEvaluatorBase --+ | XPathElementEvaluator
XPathElementEvaluator(self, element, namespaces=None, extensions=None, regexp=True, smart_strings=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). Smart strings will be returned for string results unless you pass smart_strings=False.
|
|||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
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(). |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 13 15:46:58 2017 | http://epydoc.sourceforge.net |