lxml.cssselect

Package lxml :: Module cssselect |
[hide private]
[frames] | no frames]

# Module cssselect

source code

CSS Selectors based on XPath.

This module supports selecting XML/HTML tags based on CSS selectors. See the CSSSelector class for details.

This is a thin wrapper around cssselect 0.7 or later.

Classes | [hide private]
| LxmlTranslator A custom CSS selector to XPath translator with lxml-specific extensions.
| LxmlHTMLTranslator lxml extensions + HTML support.
| CSSSelector A CSS selector.

Functions | [hide private]
_make_lower_case(context, s) | source code

Variables | [hide private]
| ns = `etree.FunctionNamespace('http://codespeak.net/lxml/css/')`