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]
  SelectorSyntaxError
Parsing a selector that does not match the grammar.
  ExpressionError
Unknown or unsupported selector (eg. pseudo-class).
  SelectorError
Common parent for :class:`SelectorSyntaxError` and :class:`ExpressionError`.
  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 = FunctionNamespace('http://codespeak.net/lxml/css/')
  __package__ = 'lxml'