tagchup

alternative package for processing of tag soups http://code.haskell.org/~thielema/tagchup/

Latest on Hackage:0.4.1.1

See all snapshots tagchup appears in

LicenseRef-GPL licensed and maintained by Henning Thielemann

Module documentation for 0.4.1

This version can be pinned in stack with:[email protected]:30227fab78b932635332d459184d393fe94becfb99ef72cb2a24ea750fe06608,3794

Tagchup is a package for processing XML, HTML, XHTML documents that can also be malformed. It allows parsing, formatting and retrieval of such document. All functions should be as lazy as possible.

I use a custom data structure based on types from xml-basic for easy interchange with the wraxml package.

Its lazy monadic parser should be more comprehensible and easier to extend than the one of tagsoup-0.6. It also handles XML processing instructions and CDATA sections correctly.

The name Tagchup resembles Ketchup.