| Safe Haskell | None |
|---|
ClassyPrelude.Conduit
- module ClassyPrelude
- module Data.Conduit
- module Data.Conduit.List
- data Document = Document {}
- data Name = Name {}
- data Prologue = Prologue {}
- data Node
- data Element = Element {
- elementName :: Name
- elementAttributes :: Map Name Text
- elementNodes :: [Node]
Re-export
module ClassyPrelude
module Data.Conduit
module Data.Conduit.List
XML
data Name
A fully qualified name.
Prefixes are not semantically important; they are included only to
simplify pass-through parsing. When comparing names with Eq or Ord
methods, prefixes are ignored.
The IsString instance supports Clark notation; see
http://www.jclark.com/xml/xmlns.htm and
http://infohost.nmt.edu/tcc/help/pubs/pylxml/etree-QName.html. Use
the OverloadedStrings language extension for very simple Name
construction:
myname :: Name
myname = "{http://example.com/ns/my-namespace}my-name"
Constructors
| Name | |
Fields
| |
data Node
Constructors
| NodeElement Element | |
| NodeInstruction Instruction | |
| NodeContent Text | |
| NodeComment Text |
data Element
Constructors
| Element | |
Fields
| |