This file is indexed.

/usr/share/doc/libghc-hxt-doc/html/Text-XML-HXT-Parser-XmlParsec.html is in libghc-hxt-doc 9.2.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Text.XML.HXT.Parser.XmlParsec</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-XML-HXT-Parser-XmlParsec.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-XML-HXT-Parser-XmlParsec.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hxt-9.2.2: A collection of tools for processing XML with Haskell.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Uwe Schmidt (uwe@fh-wedel.de)</td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Text.XML.HXT.Parser.XmlParsec</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Xml Parsec parser with pure filter interface
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:charData">charData</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:charData-39-">charData'</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a></li><li class="src short"><a href="#v:comment">comment</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a></li><li class="src short"><a href="#v:pI">pI</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a></li><li class="src short"><a href="#v:cDSect">cDSect</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a></li><li class="src short"><a href="#v:document">document</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a></li><li class="src short"><a href="#v:document-39-">document'</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:prolog">prolog</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:xMLDecl">xMLDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:xMLDecl-39-">xMLDecl'</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:versionInfo">versionInfo</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:misc">misc</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a></li><li class="src short"><a href="#v:doctypedecl">doctypedecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:markupdecl">markupdecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:sDDecl">sDDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:element">element</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a></li><li class="src short"><a href="#v:content">content</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:contentWithTextDecl">contentWithTextDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:textDecl">textDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:encodingDecl">encodingDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:xread">xread</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlContent">parseXmlContent</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlDocEncodingSpec">parseXmlDocEncodingSpec</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlDocument">parseXmlDocument</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlDTDPart">parseXmlDTDPart</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlEncodingSpec">parseXmlEncodingSpec</a> :: <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:SimpleXParser">SimpleXParser</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlEntityEncodingSpec">parseXmlEntityEncodingSpec</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlEntityValueAsAttrValue">parseXmlEntityValueAsAttrValue</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlEntityValueAsContent">parseXmlEntityValueAsContent</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlPart">parseXmlPart</a> :: <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:SimpleXParser">SimpleXParser</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseXmlText">parseXmlText</a> :: <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:SimpleXParser">SimpleXParser</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -&gt; <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XPState">XPState</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseNMToken">parseNMToken</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:parseName">parseName</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:removeEncodingSpec">removeEncodingSpec</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:charData" class="def">charData</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#charData" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:charData-39-" class="def">charData'</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#charData%27" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:comment" class="def">comment</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#comment" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pI" class="def">pI</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#pI" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:cDSect" class="def">cDSect</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#cDSect" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:document" class="def">document</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#document" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:document-39-" class="def">document'</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#document%27" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:prolog" class="def">prolog</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#prolog" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:xMLDecl" class="def">xMLDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#xMLDecl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:xMLDecl-39-" class="def">xMLDecl'</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#xMLDecl%27" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:versionInfo" class="def">versionInfo</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#versionInfo" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:misc" class="def">misc</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#misc" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:doctypedecl" class="def">doctypedecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#doctypedecl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:markupdecl" class="def">markupdecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#markupdecl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sDDecl" class="def">sDDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#sDDecl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:element" class="def">element</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#element" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:content" class="def">content</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#content" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:contentWithTextDecl" class="def">contentWithTextDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#contentWithTextDecl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:textDecl" class="def">textDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#textDecl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:encodingDecl" class="def">encodingDecl</a> ::  <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XParser">XParser</a> s <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#encodingDecl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:xread" class="def">xread</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#xread" class="link">Source</a></p><div class="doc"><p>the inverse function to <code><a href="Text-XML-HXT-DOM-ShowXml.html#v:xshow">xshow</a></code>, (for XML content).
</p><p>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
</p><p>see also: <code><a href="Text-XML-HXT-Parser-XmlParsec.html#v:parseXmlContent">parseXmlContent</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:parseXmlContent" class="def">parseXmlContent</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlContent" class="link">Source</a></p><div class="doc"><p>the filter version of <code><a href="Text-XML-HXT-Parser-XmlParsec.html#v:xread">xread</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:parseXmlDocEncodingSpec" class="def">parseXmlDocEncodingSpec</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlDocEncodingSpec" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parseXmlDocument" class="def">parseXmlDocument</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlDocument" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parseXmlDTDPart" class="def">parseXmlDTDPart</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlDTDPart" class="link">Source</a></p><div class="doc"><p>Parser for parts of a DTD
</p></div></div><div class="top"><p class="src"><a name="v:parseXmlEncodingSpec" class="def">parseXmlEncodingSpec</a> :: <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:SimpleXParser">SimpleXParser</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlEncodingSpec" class="link">Source</a></p><div class="doc"><p>try to parse a xml encoding spec.
</p><ul><li> 1.parameter encParse :  the parser for the encoding decl
</li><li> 2.parameter root :  a document root
</li><li> returns : the same tree, but with an additional
                        attribute &quot;encoding&quot; in the root node
                        in case of a valid encoding spec
                        else the unchanged tree
</li></ul></div></div><div class="top"><p class="src"><a name="v:parseXmlEntityEncodingSpec" class="def">parseXmlEntityEncodingSpec</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlEntityEncodingSpec" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parseXmlEntityValueAsAttrValue" class="def">parseXmlEntityValueAsAttrValue</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlEntityValueAsAttrValue" class="link">Source</a></p><div class="doc"><p>Parser for entity substitution within attribute values
</p></div></div><div class="top"><p class="src"><a name="v:parseXmlEntityValueAsContent" class="def">parseXmlEntityValueAsContent</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlEntityValueAsContent" class="link">Source</a></p><div class="doc"><p>Parser for general entites
</p></div></div><div class="top"><p class="src"><a name="v:parseXmlPart" class="def">parseXmlPart</a> :: <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:SimpleXParser">SimpleXParser</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlPart" class="link">Source</a></p><div class="doc"><p>general parser for parsing arbitray parts of a XML document
</p></div></div><div class="top"><p class="src"><a name="v:parseXmlText" class="def">parseXmlText</a> :: <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:SimpleXParser">SimpleXParser</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -&gt; <a href="Text-XML-HXT-Parser-XmlCharParser.html#t:XPState">XPState</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseXmlText" class="link">Source</a></p><div class="doc"><p>a more general version of <code><a href="Text-XML-HXT-Parser-XmlParsec.html#v:parseXmlContent">parseXmlContent</a></code>.
 The parser to be used and the context are extra parameter
</p></div></div><div class="top"><p class="src"><a name="v:parseNMToken" class="def">parseNMToken</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseNMToken" class="link">Source</a></p><div class="doc"><p>Parser for NMTOKENs
</p></div></div><div class="top"><p class="src"><a name="v:parseName" class="def">parseName</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#parseName" class="link">Source</a></p><div class="doc"><p>Parser for XML names
</p></div></div><div class="top"><p class="src"><a name="v:removeEncodingSpec" class="def">removeEncodingSpec</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Parser-XmlParsec.html#removeEncodingSpec" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>