Software Details:
Version: 0.9.1
Upload Date: 6 Jun 15
Distribution Type: Freeware
Downloads: 10
It can read CSS 3 selectors and virtually transform them to XPath 1.0 compatible expressions.
The code was part of the lxml Python module as lxml.cssselect.
Now it can work as a stand-alone.
Features:
- Supported selectors:
- :hover
- :active
- :focus
- :target
- :visited
What is new in this release:
- Added parser support for :attr:`functional pseudo-elements <Selector.pseudo_element>`.
What is new in version 0.7.1:
- 0.7 broke the parser in Python 2.4 and 2.5; the tests in 2.x. Now all is well again.
What is new in version 0.6:
- In ``setup.py`` use setuptools/distribute if available, but fall back on distutils.
- Implement the ``:lang()`` pseudo-class, although it is only based on ``xml:lang`` or ``lang`` attributes. If the document language is known from some other meta-data (like a ``Content-Language`` HTTP header or ``<meta>`` element), a workaround is to set a lang attribute on the root element.
What is new in version 0.5:
- Fix case sensitivity issues.
- Implement :class:`HTMLTranslator` based on the `HTML5 specification`_ rather than guessing; add the ``xhtml`` parameter.
- Several bug fixes and better test coverage.
Requirements:
- Python 2.4 or higher
Comments not found