tagchup

alternative package for processing of tag soups

http://code.haskell.org/~thielema/tagchup/

Version on this page:0.4.1.2@rev:1
LTS Haskell 22.19:0.4.1.2@rev:2
Stackage Nightly 2024-05-03:0.4.1.2@rev:2
Latest on Hackage:0.4.1.2@rev:2

See all snapshots tagchup appears in

LicenseRef-GPL licensed and maintained by Henning Thielemann
This version can be pinned in stack with:tagchup-0.4.1.2@sha256:98b23bd9906f553cd5a769451df4aeb0bffa5132a8b52b8ca53e7c407c582b8b,4139

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.