|
Control.Concurrent.SCC.XML |
|
|
|
|
Description |
Module XML defines primitives and combinators for parsing and manipulating XML.
|
|
Synopsis |
|
|
|
|
Types
|
|
|
Constructors | StartTag | | EndTag | | EmptyTag | | ElementName | | AttributeName | | AttributeValue | | EntityReferenceToken | | EntityName | | ProcessingInstruction | | ProcessingInstructionText | | Comment | | CommentText | | StartMarkedSectionCDATA | | EndMarkedSection | | ErrorToken String | |
| Instances | |
|
|
Parsing XML
|
|
|
The tokens splitter distinguishes XML markup from data content. It is used by parseTokens.
|
|
|
The XML token parser. This parser converts plain text to parsed text, which is a precondition for using the
remaining XML components.
|
|
|
Converts an XML entity name into the text value it represents: expandEntity "lt" = "<".
|
|
Showing XML
|
|
|
Escapes a character for inclusion into an XML attribute value.
|
|
|
Escapes a character for inclusion into the XML data content.
|
|
Splitters
|
|
|
Splits all top-level elements with all their content to true, all other input to false.
|
|
|
Splits the content of all top-level elements to true, their tags and intervening input to false.
|
|
|
Splits every element name, including the names of nested elements and names in end tags, to true, all the rest of
input to false.
|
|
|
Splits every attribute specification to true, everything else to false.
|
|
|
Splits every attribute name to true, all the rest of input to false.
|
|
|
Splits every attribute value, excluding the quote delimiters, to true, all the rest of input to false.
|
|
SplitterComponent combinators
|
|
|
Similiar to (Control.Concurrent.SCC.Combinators.having element), except it runs the argument splitter
only on each element's start tag, not on the entire element with its content.
|
|
|
Behaves like Control.Concurrent.SCC.Combinators.having, but the right-hand splitter works on plain instead of
marked-up text. This allows regular Char splitters to be applied to parsed XML.
|
|
|
Behaves like Control.Concurrent.SCC.Combinators.havingOnly, but the right-hand splitter works on plain instead of
marked-up text. This allows regular Char splitters to be applied to parsed XML.
|
|
Produced by Haddock version 2.7.2 |