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

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Fri Oct 3 18:40:29 UTC 2014


On 10/03/2014 07:37 PM, Marios Titas wrote:
> 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

Can you explain how this differs from HandsomeSoup?


-- 
Mateusz K.


More information about the Haskell-Cafe mailing list