cssselect parses CSS3 Selectors and translates them to XPath 1.0
Cssselect parses CSS3 Selectors and translate them to XPath 1.0 expressions. Such expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document.