This version can be pinned in stack with:xml-conduit-1.5.1@sha256:87cc219e7f92c204b6e1f5788e2907e351d5f17431f75a4434d784fbe66ce9fa,2647
Module documentation for 1.5.1
TextText.XMLText.XML.Cursor
Text.XML.StreamText.XML.Stream.Parse
Text.XML.Stream.Render
Text.XML.Unresolved
Depends on 16 packages
(full list with versions ) :
attoparsec ,
base ,
blaze-builder ,
blaze-html ,
blaze-markup ,
bytestring ,
conduit ,
conduit-extra ,
containers ,
data-default ,
deepseq ,
monad-control ,
resourcet ,
text ,
transformers ,
xml-types Used by 28 packages in
lts-9.1 (full list with versions ) :
amazonka-core ,
atom-conduit ,
authenticate ,
aws ,
DAV ,
haskell-gi ,
html-conduit ,
imm ,
markdown ,
mime-mail-ses ,
minio-hs ,
MusicBrainz ,
opml-conduit ,
pandoc-citeproc ,
rss-conduit ,
soap ,
stackage-curator ,
tagstream-conduit ,
xlsx ,
xml-conduit-parse ,
xml-conduit-writer ,
xml-hamlet ,
xml-html-qq ,
xml-indexed-cursor ,
xml-lens ,
yesod-newsfeed ,
yesod-sitemap ,
yesod-test 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 .
1.5.1
New render setting, rsXMLDeclaration
; setting it to False
omits the XML declaration.
1.5.0
tag
function no longer throws an exception when attributes don’t match #93
Add many_
combinator to avoid building results in memory #94
Turn some functions from Consumer Event m a
to ConduitM Event o m a
to allow yielding values
Replace takeAllTreesContent
with takeAnyTreeContent
, that only consumes one tree
Introduce NameMatcher
type to refactor tag parsers
Add a couple of take*
functions to stream events rather than parse them
Rename ignore*
functions to comply with naming convention
1.4.0.3
Compatibility with blaze-markup-0.8.0.0 #95
1.4.0.2
Parse XML encoding case-insensitively
Remove extra EOL when printing XmlException
1.4.0.1
Handle CDATA in takeAllTreesContent #88
1.4.0
Improve XmlException definition and usage
Add ‘takeAllTreesContent’ function
1.3.5
Improvements for using xml-conduit for streaming XML protocols #85
1.3.4.2
1.3.4.1
Remove unneeded ImpredicativeTypes
1.3.4
dropWS retains consumed whitespace values #74 #75 #76
1.3.3.1
Generalize signature of choose (Fixes #72 ) #73
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
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
1.2.3.2
1.2.3.1
Support monad-control 1.0
Stackage is a service provided by the
Haskell Foundation
│ Originally developed by
FP Complete