xml-conduit

Pure-Haskell utilities for dealing with XML with the conduit package. http://github.com/snoyberg/xml

Version on this page:[email protected]:1
LTS Haskell 16.3:1.9.0.0
Stackage Nightly 2020-06-29:1.9.0.0
Latest on Hackage:1.9.0.0

See all snapshots xml-conduit appears in

Maintained by Michael Snoyman

Module documentation for 1.3.3

This version can be pinned in stack with:[email protected]:592002df6c425068f6f7a44e8fa357e91b60fd9719bfef7a19f8b702f5a709f6,2670

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.3.3

  • New render setting to control when to use CDATA #68
  • Escaping CDATA closing tag in CDATA #69

1.3.2

  • Support for iso-8859-1 #63

1.3.1

  • Add functions to ignore subtrees & result-streaming (yield) parsers #58

1.3.0

  • Drop system-filepath

1.2.6

  • Reuse ‘MonadThrow’ and ‘force’ for ‘AttrParser’ #52

1.2.5

  • Added helper functions to render XML elements #48

1.2.4

  • ‘parseText’ becomes ‘parseText’/‘parseTextPos’, depending on the output type #47

1.2.3.3

  • Allow blaze-builder 0.4

1.2.3.2

1.2.3.1

Support monad-control 1.0