name: xml-enumerator
version: 0.4.1
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michaels@suite-sol.com>, Aristid Breitkreuz <aristidb@googlemail.com>
maintainer: Michael Snoyman <michaels@suite-sol.com>
synopsis: Pure-Haskell utilities for dealing with XML with the enumerator package.
description:
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 <http://hackage.haskell.org/package/xml-hamlet> provides a more convenient syntax for creating XML documents.
category: XML, Enumerator
stability: Stable
cabal-version: >= 1.8
build-type: Simple
homepage: http://github.com/snoyberg/xml
extra-source-files: test/main.hs
flag test
default: False
library
build-depends: base >= 4 && < 5
, enumerator >= 0.4.5 && < 0.5
, bytestring >= 0.9 && < 0.10
, text >= 0.7 && < 0.12
, containers >= 0.2 && < 0.5
, xml-types >= 0.3 && < 0.4
, attoparsec-text-enumerator >= 0.2 && < 0.3
, attoparsec-text >= 0.8.2 && < 0.9
, blaze-builder >= 0.2 && < 0.4
, blaze-builder-enumerator >= 0.2 && < 0.3
, transformers >= 0.2 && < 0.3
, failure >= 0.1 && < 0.2
, data-default >= 0.2 && < 0.4
exposed-modules: Text.XML.Stream.Parse
Text.XML.Stream.Render
Text.XML.Unresolved
Text.XML.Cursor
Text.XML.Cursor.Generic
Text.XML
other-modules: Text.XML.Stream.Token
ghc-options: -Wall
test-suite runtests
type: exitcode-stdio-1.0
main-is: main.hs
hs-source-dirs: test
build-depends: base >= 4 && < 5
, containers >= 0.2 && < 0.5
, text < 1
, transformers >= 0.2 && < 0.3
, enumerator >= 0.4.14 && < 0.5
, bytestring >= 0.9 && < 0.10
, xml-enumerator >= 0.4 && < 0.5
, hspec >= 0.6.1 && < 0.7
, HUnit >= 1.2 && < 1.3
, xml-types >= 0.3 && < 0.4
source-repository head
type: git
location: git://github.com/snoyberg/xml.git