Modulehxt-9.3.1.22Haskell2010
Text.XML.HXT.Parser.XmlParsec
Xml Parsec parser with pure filter interface
Synopsis
- value charData
- value charData'
- value comment
- value pI
- value cDSect
- value document
- value document'
- value prolog
- value xMLDecl
- value xMLDecl'
- value versionInfo
- value misc
- value doctypedecl
- value markupdecl
- value sDDecl
- value element
- value content
- value contentWithTextDecl
- value textDecl
- value encodingDecl
- value xread
- value xreadDoc
- value parseXmlContent
- value parseXmlDocEncodingSpec
- value parseXmlDocument
- value parseXmlDTDPart
- value parseXmlEncodingSpec
- value parseXmlEntityEncodingSpec
- value parseXmlEntityValueAsAttrValue
- value parseXmlEntityValueAsContent
- value parseXmlPart
- value parseXmlText
- value parseNMToken
- value parseName
- value removeEncodingSpec
- Packagehxt-9.3.1.22
- Exports35
- LanguageHaskell2010
- LicenceMIT
- SourceXmlParsec.hs
the inverse function to xshow, (for XML content).
the string parameter is parsed with the XML content parser. result is the list of trees or in case of an error a single element list with the error message as node. No entity or character subtitution is done here, but the XML parser can do this for the predefined XML or the char references for performance reasons
see also: parseXmlContent
the filter version of xread
Parser for parts of a DTD
try to parse a xml encoding spec.
1.parameter encParse : the parser for the encoding decl
2.parameter root : a document root
returns : the same tree, but with an additional attribute "encoding" in the root node in case of a valid encoding spec else the unchanged tree
Parser for entity substitution within attribute values
Parser for general entites
general parser for parsing arbitray parts of a XML document
a more general version of parseXmlContent. The parser to be used and the context are extra parameter
Parser for NMTOKENs
Parser for XML names