Home | Trees | Indices | Help |
|
---|
|
object --+ | etree._XPathEvaluatorBase --+ | etree.XPath --+ | CSSSelector
A CSS selector.
Usage:
>>> from lxml import etree, cssselect >>> select = cssselect.CSSSelector("a tag > child") >>> root = etree.XML("<a><b><c/><tag><child>TEXT</child></tag></b></a>") >>> [ el.tag for el in select(root) ] ['child']
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Properties | |
Inherited from Inherited from Inherited from |
Method Details |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Fri Dec 12 22:47:00 2008 | http://epydoc.sourceforge.net |