[Haskell-cafe] ANN: hxt-css 0.1.0.0, a CSS selector engine for HXT

Marios Titas redneb8888 at gmail.com
Fri Oct 3 18:37:52 UTC 2014


Hello everybody,

I'd like to announce the first public release of hxt-css, a CSS selector
engine for the Haskell XML Toolbox (HXT). Its main design goals are:

* support as many CSS selectors as possible: it currently supports all
CSS 3 selectors except the ones that do not make sense outside a web
browser (e.g. such as :hover). For example, it supports weird things
like

    div > span + p:not(:nth-of-type(3n-1))

* try to be 100% correct: in all tests I ran, the output of
hxt-css was identical to that of firefox & chrome.

* follow the conventions of other hxt packages: for
example, error reporting is done the same way as hxt-xpath.

Note, there is already a similar package in hackage called HandsomeSoup.

- Marios


More information about the Haskell-Cafe mailing list