xml-conduit: Pure-Haskell utilities for dealing with XML with the conduit package.

[ conduit, library, mit, xml ] [ Propose Tags ] [ Report a vulnerability ]

Hackage documentation generation is not reliable. For up to date documentation, please see: http://www.stackage.org/package/xml-conduit.


[Skip to Readme]

Downloads

Versions [RSS] 0.5.0, 0.5.0.1, 0.5.1, 0.5.1.1, 0.5.1.2, 0.5.2, 0.5.3, 0.5.3.1, 0.5.4, 0.6.0, 0.6.1, 0.7.0, 0.7.0.1, 0.7.0.2, 0.7.0.3, 1.0.0, 1.0.1, 1.0.1.1, 1.0.2, 1.0.2.1, 1.0.3, 1.0.3.1, 1.0.3.2, 1.0.3.3, 1.1.0, 1.1.0.1, 1.1.0.2, 1.1.0.3, 1.1.0.4, 1.1.0.5, 1.1.0.6, 1.1.0.7, 1.1.0.8, 1.1.0.9, 1.2.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.2.1, 1.2.1.1, 1.2.2, 1.2.3, 1.2.3.1, 1.2.3.2, 1.2.3.3, 1.2.4, 1.2.5, 1.2.5.1, 1.2.6, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.3.1, 1.3.4, 1.3.4.1, 1.3.4.2, 1.3.5, 1.4.0, 1.4.0.1, 1.4.0.2, 1.4.0.3, 1.4.0.4, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.0.1, 1.7.1.0, 1.7.1.1, 1.7.1.2, 1.8.0, 1.8.0.1, 1.9.0.0, 1.9.1.0, 1.9.1.1, 1.9.1.2, 1.9.1.3, 1.9.1.4, 1.10.0.0, 1.10.0.1, 1.10.1.0 (info)
Change log ChangeLog.md
Dependencies attoparsec (>=0.10), base (>=4.12 && <5), blaze-html (>=0.5), blaze-markup (>=0.5), bytestring (>=0.10.2), conduit (>=1.3 && <1.4), conduit-extra (>=1.3 && <1.4), containers (>=0.2), data-default, deepseq (>=1.1.0.0), resourcet (>=1.2 && <1.4), text (>=0.7), transformers (>=0.2 && <0.7), xml-types (>=0.3.4 && <0.4) [details]
Tested with ghc >=8.0 && <9.12
License MIT
Author Michael Snoyman <michael@snoyman.com>, Aristid Breitkreuz <aristidb@googlemail.com>
Maintainer Michael Snoyman <michael@snoyman.com>
Category XML, Conduit
Home page http://github.com/snoyberg/xml
Source repo head: git clone git://github.com/snoyberg/xml.git
Uploaded by koral at 2025-11-25T20:24:41Z
Distributions Arch:1.9.1.4, Debian:1.9.0.0, Fedora:1.9.1.4, FreeBSD:1.3.1, LTSHaskell:1.10.0.1, NixOS:1.10.0.1, Stackage:1.10.1.0, openSUSE:1.10.0.1
Reverse Dependencies 130 direct, 3805 indirect [details]
Downloads 174038 total (120 in the last 30 days)
Rating 2.0 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-11-25 [all 1 reports]

Readme for xml-conduit-1.10.1.0

[back to package description]

xml-conduit

This package provides parsing and rendering functions for XML. It is based on the datatypes found in the xml-types package. This package is broken up into the following modules:

  • Text.XML: DOM-based parsing and rendering. This is the most commonly used module.

  • Text.XML.Cursor: A wrapper around Text.XML which allows bidirectional traversing of the DOM, similar to XPath. (Note: Text.XML.Cursor.Generic is the same concept, but will work with any node representation.)

  • Text.XML.Unresolved: A slight modification to Text.XML which does not require all entities to be resolved at parsing. The datatypes are slightly more complicated here, and therefore this module is only recommended when you need to deal directly with raw entities.

  • Text.XML.Stream.Parse: Streaming parser, including some streaming parser combinators.

  • Text.XML.Stream.Render: Streaming renderer.

Additionally, the xml-hamlet package provides a more convenient syntax for creating XML documents. For a more thorough tutorial on this library, please see http://www.yesodweb.com/book/xml.