# xml-conduit

> Pure-Haskell XML parsing and rendering, as a DOM or as a conduit stream

Source: https://talira.ai/catalog/xml-conduit-2ygqjhjh
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / xml](https://talira.ai/categories/libraries/xml), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Backed by: [Michael Snoyman](https://talira.ai/orgs/michael-snoyman.md)

xml-conduit is a pure-Haskell XML library maintained by Michael Snoyman, built on the xml-types datatypes and the conduit streaming library. Text.XML parses and renders whole documents as a DOM, Text.XML.Cursor walks that tree in both directions in an XPath-like way, Text.XML.Unresolved parses without resolving every entity, and Text.XML.Stream.Parse and Text.XML.Stream.Render parse and render as streams with parser combinators.

## Links

- GitHub: https://github.com/snoyberg/xml
- Docs: https://www.stackage.org/package/xml-conduit

## Problems it solves

- parse an XML file into a tree in Haskell and query it
- stream-parse a large XML document in Haskell as it arrives
- render XML from Haskell data

## Features

- DOM parsing and rendering (Text.XML)
- bidirectional cursor traversal similar to XPath
- streaming parser with combinators
- streaming renderer
- parsing without resolving every entity

## Trust

Overall: 0.21 out of 1.
Signals: maintenance 0.06, adoption 0.38, momentum 0.04, community 0.69, backing 0.30, extensibility 0.00.

- 75 GitHub stars
- 52 contributors
- backed by Michael Snoyman

Warnings:

- last commit 12 months ago

## Sources

[^1]: https://github.com/snoyberg/xml/blob/master/xml-conduit/LICENSE (checked 29 Nov 2026)
