hexml: XML subset DOM parser

[ bsd3, library, xml ] [ Propose Tags ]

An XML DOM-style parser, that only parses a subset of XML, but is designed to be fast.

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4
Change log CHANGES.txt
Dependencies base (>=4.5 && <5), bytestring, extra (>=0.3) [details]
License BSD-3-Clause
Copyright Neil Mitchell 2016-2018
Author Neil Mitchell <ndmitchell@gmail.com>
Maintainer Neil Mitchell <ndmitchell@gmail.com>
Category XML
Home page https://github.com/ndmitchell/hexml#readme
Bug tracker https://github.com/ndmitchell/hexml/issues
Source repo head: git clone https://github.com/ndmitchell/hexml.git
Uploaded by NeilMitchell at 2018-09-10T08:48:21Z
Distributions LTSHaskell:0.3.4, NixOS:0.3.4, Stackage:0.3.4
Reverse Dependencies 3 direct, 3 indirect [details]
Downloads 5576 total (31 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-09-10 [all 1 reports]

Readme for hexml-0.3.4

[back to package description]

Hexml Hackage version Stackage version Linux Build Status Windows Build Status

An XML DOM-style parser, that only parses a subset of XML, but is designed to be fast. In particular:

  • Entities, e.g. &amp;, are not expanded.
  • Not all the validity conditions are checked.
  • No support for <!DOCTYPE related features.

The name "hexml" is a combination of "Hex" (a curse) and "XML". The "X" should not be capitalised because the parser is more curse and less XML.

Hexml may be suitable if you want to quickly parse XML, from known sources, and a full XML parser has been shown to be a bottleneck. As an alternative to hexml, which supports things like entities but is still pretty fast, see Pugixml (with a Haskell binding).

Hexml is tested with AFL.

If you want lenses for Hexml, see hexml-lens.