LicenseRef-GPL licensed and maintained by Henning Thielemann
This version can be pinned in stack with:tagchup-0.4.1.1@sha256:000975edc0956e800ed5b88089819932ce4a297fcdb78e8a8757010859840c04,3798

Module documentation for 0.4.1.1

  • Text
    • Text.HTML
      • Text.HTML.Tagchup
        • Text.HTML.Tagchup.Format
        • Text.HTML.Tagchup.Parser
        • Text.HTML.Tagchup.PositionTag
        • Text.HTML.Tagchup.Process
        • Text.HTML.Tagchup.Tag
          • Text.HTML.Tagchup.Tag.Match

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.