| hxt-8.5.4: A collection of tools for processing XML with Haskell. | Source code | Contents | Index
Text.XML.HXT.Parser.XmlParsec |
Portability | portable
Stability | experimental
Maintainer | Uwe Schmidt (uwe@fh-wedel.de)
Description
Version : $Id: XmlParsec.hs,v 1.14 20050902 17:09:39 hxml Exp $ Xml Parsec parser with pure filter interface
Synopsis
charData :: GenParser Char state XmlTrees
charData' :: GenParser Char state XmlTree
comment :: GenParser Char state XmlTree
pI :: GenParser Char state XmlTree
cDSect :: GenParser Char state XmlTree
document :: GenParser Char state XmlTree
document' :: GenParser Char state XmlTrees
prolog :: GenParser Char state XmlTrees
xMLDecl :: GenParser Char state XmlTrees
xMLDecl' :: GenParser Char state XmlTrees
versionInfo :: GenParser Char state XmlTrees
misc :: GenParser Char state XmlTree
doctypedecl :: GenParser Char state XmlTrees
markupdecl :: GenParser Char state XmlTrees
sDDecl :: GenParser Char state XmlTrees
element :: GenParser Char state XmlTree
content :: GenParser Char state XmlTrees
contentWithTextDecl :: GenParser Char state XmlTrees
textDecl :: GenParser Char state XmlTrees
encodingDecl :: GenParser Char state XmlTrees
xread :: String -> XmlTrees
parseXmlAttrValue :: String -> XmlTree -> XmlTrees
parseXmlContent :: XmlTree -> XmlTrees
parseXmlDocEncodingSpec :: XmlTree -> XmlTrees
parseXmlDocument :: String -> String -> XmlTrees
parseXmlDTDPart :: String -> XmlTree -> XmlTrees
parseXmlEncodingSpec :: Parser XmlTree -> XmlTree -> XmlTrees
parseXmlEntityEncodingSpec :: XmlTree -> XmlTrees
parseXmlGeneralEntityValue :: String -> XmlTree -> XmlTrees
parseXmlPart :: Parser XmlTrees -> String -> String -> XmlTree -> XmlTrees
parseXmlText :: Parser XmlTrees -> String -> XmlTree -> XmlTrees
parseNMToken :: String -> XmlTree -> XmlTrees
parseName :: String -> XmlTree -> XmlTrees
removeEncodingSpec :: XmlTree -> XmlTrees
Documentation
charData :: GenParser Char state XmlTrees | Source
charData' :: GenParser Char state XmlTree | Source
comment :: GenParser Char state XmlTree | Source
pI :: GenParser Char state XmlTree | Source
cDSect :: GenParser Char state XmlTree | Source
document :: GenParser Char state XmlTree | Source
document' :: GenParser Char state XmlTrees | Source
prolog :: GenParser Char state XmlTrees | Source
xMLDecl :: GenParser Char state XmlTrees | Source
xMLDecl' :: GenParser Char state XmlTrees | Source
versionInfo :: GenParser Char state XmlTrees | Source
misc :: GenParser Char state XmlTree | Source
doctypedecl :: GenParser Char state XmlTrees | Source
markupdecl :: GenParser Char state XmlTrees | Source
sDDecl :: GenParser Char state XmlTrees | Source
element :: GenParser Char state XmlTree | Source
content :: GenParser Char state XmlTrees | Source
contentWithTextDecl :: GenParser Char state XmlTrees | Source
textDecl :: GenParser Char state XmlTrees | Source
encodingDecl :: GenParser Char state XmlTrees | Source
xread :: String -> XmlTrees | Source
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. see also: `parseXmlContent`
parseXmlAttrValue :: String -> XmlTree -> XmlTrees | Source
Parser for attribute values
parseXmlContent :: XmlTree -> XmlTrees | Source
the filter version of `xread`
parseXmlDocEncodingSpec :: XmlTree -> XmlTrees | Source
parseXmlDocument :: String -> String -> XmlTrees | Source
parseXmlDTDPart :: String -> XmlTree -> XmlTrees | Source
Parser for parts of a DTD
parseXmlEncodingSpec :: Parser XmlTree -> XmlTree -> XmlTrees | Source
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
parseXmlEntityEncodingSpec :: XmlTree -> XmlTrees | Source
parseXmlGeneralEntityValue :: String -> XmlTree -> XmlTrees | Source
Parser for general entites
parseXmlPart :: Parser XmlTrees -> String -> String -> XmlTree -> XmlTrees | Source
general parser for parsing arbitray parts of a XML document
parseXmlText :: Parser XmlTrees -> String -> XmlTree -> XmlTrees | Source
a more general version of `parseXmlContent`. The parser to be used and the context are extra parameter
parseNMToken :: String -> XmlTree -> XmlTrees | Source
Parser for NMTOKENs
parseName :: String -> XmlTree -> XmlTrees | Source
Parser for XML names
removeEncodingSpec :: XmlTree -> XmlTrees | Source
Produced by Haddock version 2.4.2