
3 Oct
2014
3 Oct
'14
2:37 p.m.
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