tagchup: alternative package for processing of tag soups

[ library, xml ] [ Propose Tags ]

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.


Automatic Flags

Build example executables


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.3.1, 0.4,,,,,,, 0.4.1,,
Dependencies base (>=3 && <5), bytestring (>= && <0.13), containers (>=0.1 && <0.8), data-accessor (>=0.2 && <0.3), explicit-exception (>=0.1 && <0.3), hxt (>=8.5.2 && <8.6), non-empty (>=0.2.1 && <0.4), tagchup, transformers (>=0.2 && <0.7), utility-ht (>=0.0.13 && <0.1), xml-basic (>=0.1.2 && <0.2) [details]
License LicenseRef-GPL
Author Henning Thielemann <tagchup@henning-thielemann.de>
Maintainer Henning Thielemann <tagchup@henning-thielemann.de>
Revised Revision 2 made by HenningThielemann at 2024-03-19T09:11:43Z
Category XML
Home page http://code.haskell.org/~thielema/tagchup/
Source repo head: darcs get http://code.haskell.org/~thielema/tagchup/
this: darcs get http://code.haskell.org/~thielema/tagchup/ --tag
Uploaded by HenningThielemann at 2023-01-15T09:39:18Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 3 direct, 0 indirect [details]
Executables strip-html, escape-html, validate-tagchup
Downloads 7684 total (33 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-01-15 [all 1 reports]