- data Document = Document {}
- data Prologue = Prologue {}
- data Instruction = Instruction {}
- data Miscellaneous
- data Node
- data Element = Element {
- elementName :: Name
- elementAttributes :: [Attribute]
- elementNodes :: [Node]
- data Attribute = Attribute {
- attributeName :: Name
- attributeContent :: [Content]
- data Content
- data Name = Name {}
- class Named a where
- data Doctype = Doctype {}
- data ExternalID
- data InternalSubset
- isElement :: Node -> [Element]
- isInstruction :: Node -> [Instruction]
- isContent :: Node -> [Content]
- isComment :: Node -> [Text]
- isNamed :: Named a => Name -> a -> [a]
- nodeChildren :: Node -> [Node]
- elementChildren :: Element -> [Element]
- hasAttribute :: (Attribute -> [Attribute]) -> Element -> [Element]
- position :: Integer -> (a -> [b]) -> a -> [b]
Types
Document prologue
data Instruction Source
data Miscellaneous Source
Document body
Element | |
|
Name | |
|
Doctypes
Predicates
isInstruction :: Node -> [Instruction]Source
Filters
nodeChildren :: Node -> [Node]Source
elementChildren :: Element -> [Element]Source