Modulexml-conduit-1.10.1.0Haskell2010
Text.XML.Unresolved
DOM-based XML parsing and rendering.
In this module, attribute values and content nodes can contain either raw text or entities. In most cases, these can be fully resolved at parsing. If that is the case for your documents, the Text.XML module provides simplified datatypes that only contain raw text.
Contents
Synopsis
- value writeFile
- value readFile
- value renderLBS
- value parseLBS
- value parseLBS_
- value parseText
- value parseText_
- value sinkTextDoc
- value sinkDoc
- value toEvents
- value elementToEvents
- value fromEvents
- value elementFromEvents
- value renderBuilder
- value renderBytes
- value renderText
- data InvalidEventStream
- method def
- data ParseSettings
- value psDecodeEntities
- value psRetainNamespaces
- data RenderSettings
- value rsNamespaces
- Packagexml-conduit-1.10.1.0
- Exports23
- LanguageHaskell2010
- LicenceMIT
- SourceUnresolved.hs
Non-streaming functions
Lazy bytestrings
Text
Byte streams
Streaming functions
Render a document into events.
Render a document element into events.
Parse a document from a stream of events.
Try to parse a document element (as defined in XML) from a stream of events.
Exceptions
Instances2Show, Exception
Show InvalidEventStreamDefined in xml-conduit-1.10.1.0 · Text.XML.UnresolvedException InvalidEventStreamDefined in xml-conduit-1.10.1.0 · Text.XML.Unresolved
Settings
The default value for this type.
Parse
Instances1Default
Default ParseSettingsDefined in xml-conduit-1.10.1.0 · Text.XML.Stream.Parse
Whether the original xmlns attributes should be retained in the parsed values. For more information on motivation, see:
https://github.com/snoyberg/xml/issues/38
Default: False
Since 1.2.1
Render
Instances1Default
Default RenderSettingsDefined in xml-conduit-1.10.1.0 · Text.XML.Stream.Render.Internal
Defines some top level namespace definitions to be used, in the form of (prefix, namespace). This has absolutely no impact on the meaning of your documents, but can increase readability by moving commonly used namespace declarations to the top level.