xml-conduit

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

http://github.com/snoyberg/xml

Version on this page:1.2.3.1@rev:1
LTS Haskell 22.39:1.9.1.3
Stackage Nightly 2024-10-29:1.9.1.3
Latest on Hackage:1.9.1.3

See all snapshots xml-conduit appears in

BSD-3-Clause licensed by Michael Snoyman, Aristid Breitkreuz
Maintained by Michael Snoyman
This version can be pinned in stack with:xml-conduit-1.2.3.1@sha256:91e4deee85e7840179e5abe9c78ba0f1b1324233168f445365aebaa25bb96fe1,2741

Module documentation for 1.2.3.1

  • Text
    • Text.XML
      • Text.XML.Cursor
        • Text.XML.Cursor.Generic
      • Text.XML.Stream
        • Text.XML.Stream.Parse
        • Text.XML.Stream.Render
      • Text.XML.Unresolved

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.

Changes

1.2.3.1

Support monad-control 1.0