A collection of tools for processing XML with Haskell.


Version on this page:
LTS Haskell 20.23:
Stackage Nightly 2023-06-04:
Latest on Hackage:

See all snapshots hxt appears in

MIT licensed by Uwe Schmidt, Martin Schmidt, Torben Kuseler
Maintained by Uwe Schmidt
This version can be pinned in stack with:hxt-,8423

Module documentation for

The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but introduces a more general approach for processing XML with Haskell. The Haskell XML Toolbox uses a generic data model for representing XML documents, including the DTD subset and the document subset, in Haskell. It contains a validating XML parser, a HTML parser, namespace support, an XPath expression evaluator, an XSLT library, a RelaxNG schema validator and funtions for serialization and deserialization of user defined data. The library makes extensive use of the arrow approach for processing XML. Since version 9 the toolbox is partitioned into various (sub-)packages. This package contains the core functionality, hxt-curl, hxt-tagsoup, hxt-relaxng, hxt-xpath, hxt-xslt, hxt-regex-xmlschema contain the extensions. hxt-unicode contains encoding and decoding functions, hxt-charproperties char properties for unicode and XML. Changes from canonicalize added in hread and hreadDoc

Changes from conditionally (no default) dependency from networt changed to network-uri with flag "network-uri"

Changes from warnings from ghc-7.8.1 removed

Changes from https as protocol added

Changes from new parser xreadDoc

Changes from in readString all input decoding switched off

Changes from lower bound for network set to be >= 2.4

Changes from 9.3.0: upper bound for network set to be < 2.4 (URI signatures changed in 2.4)

Changes from 9.2.2: XMLSchema validation integrated

Changes from 9.2.1: user defined mime type handlers added

Changes from 9.2.0: New warnings from ghc-7.4 removed