Rose tree with XML nodes (XNode)
Modulehxt-9.3.1.22Haskell2010
Text.XML.HXT.DOM.TypeDefs
The core data types of the HXT DOM.
- 10 types
- 7 values
- Packagehxt-9.3.1.22
- Exports17
- LanguageHaskell2010
- LicenceMIT
- SourceTypeDefs.hs
module Data.AssocList
Represents a DTD element
Constructors
DOCTYPEattr: name, system, public, XDTD elems as children
ELEMENTattr: name, kind
name: element name
kind: "EMPTY" | "ANY" | "#PCDATA" | children | mixed
CONTENTelement content
attr: kind, modifier
modifier: "" | "?" | "*" | "+"
kind: seq | choice
ATTLISTattributes: name - name of element
value - name of attribute
type: "CDATA" | "ID" | "IDREF" | "IDREFS" | "ENTITY" | "ENTITIES" |
"NMTOKEN" | "NMTOKENS" |"NOTATION" | "ENUMTYPE"
kind: "#REQUIRED" | "#IMPLIED" | "DEFAULT"
ENTITYfor entity declarations
PENTITYfor parameter entity declarations
NOTATIONfor notations
CONDSECTfor INCLUDEs, IGNOREs and peRefs: attr: type
type = INCLUDE, IGNORE or %...;
NAMEattr: name
for lists of names in notation types or nmtokens in enumeration types
PEREFfor Parameter Entity References in DTDs
Instances8Enum, Eq, Ord, Read, Show, NFData, …
Enum DTDElemDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsEq DTDElemDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsOrd DTDElemDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsRead DTDElemDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsShow DTDElemDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsNFData DTDElemDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsBinary DTDElemDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsWNFData DTDElemDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefs
Represents elements
Constructors
XText Stringordinary text (leaf)
XBlob Blobtext represented more space efficient as bytestring (leaf)
XCharRef Intcharacter reference (leaf)
XEntityRef Stringentity reference (leaf)
XCmt Stringcomment (leaf)
XCdata StringCDATA section (leaf)
XPi QName XmlTreesProcessing Instr with qualified name (leaf) with list of attributes. If tag name is xml, attributes are "version", "encoding", "standalone", else attribute list is empty, content is a text child node
XTag QName XmlTreestag with qualified name and list of attributes (inner node or leaf)
XDTD DTDElem AttributesDTD element with assoc list for dtd element features
XAttr QNameattribute with qualified name, the attribute value is stored in children
XError Int Stringerror message with level and text
Instances6Eq, Show, NFData, Binary, WNFData, XmlNode
Eq XNodeDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsShow XNodeDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsNFData XNodeDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsBinary XNodeDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsWNFData XNodeDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsXmlNode XNodeDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.XmlNode
List of rose trees with XML nodes
Binary large object implemented as a lazy bytestring
Attribute list
used for storing option lists and features of DTD parts
Evaluate an assoc list of strings
no error, everything is ok
Error level for XError, type warning
Error level for XError, type error
Error level for XError, type fatal error
data type for representing a set of nodes as a tree structure
this structure is e.g. used to repesent the result of an XPath query such that the selected nodes can be processed or selected later in processing a document tree
Constructors
XNSthisNode :: Boolis this node part of the set ?
attrNodes :: [QName]the set of attribute nodes
childNodes :: ChildNodesthe set of child nodes, a list of pairs of index and node set
Instances2Eq, Show
Eq XmlNodeSetDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefsShow XmlNodeSetDefined in hxt-9.3.1.22 · Text.XML.HXT.DOM.TypeDefs