This file is indexed.

/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-XmlContent.html is in libghc-haxml-doc 1:1.25.4-1.

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
<!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.HaXml.XmlContent</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-XML-HaXml-XmlContent.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-XML-HaXml-XmlContent.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">HaXml-1.25.4: Utilities for manipulating XML documents</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Text.XML.HaXml.XmlContent</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Re-export everything from Text.XML.HaXml.XmlContent.Parser.</a></li><li><a href="#g:2">Contains instances of the XmlContent classes,</a></li><li><a href="#g:3">Whole-document conversion functions</a></li><li><a href="#section.orphans">Orphan instances</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The class <code><a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a></code> is a kind of replacement for Read and Show:
   it provides conversions between a generic XML tree representation
   and your own more specialised typeful Haskell data trees.</p><p>If you are starting with an XML DTD, use HaXml's tool DtdToHaskell
   to generate both the Haskell types and the corresponding instances.</p><p>If you are starting with a set of Haskell datatypes, use DrIFT to
   derive instances of this class for you:
       http://repetae.net/john/computer/haskell/DrIFT
   and _do_not_ use the current module, but rather
   Text.XML.HaXml.XmlContent.Haskell, for the correct matching
   instances for standard Haskell datatypes.</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">module <a href="Text-XML-HaXml-XmlContent-Parser.html">Text.XML.HaXml.XmlContent.Parser</a></li><li class="src short">module <a href="Text-XML-HaXml-TypeMapping.html">Text.XML.HaXml.TypeMapping</a></li><li class="src short"><a href="#v:toXml">toXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="Text-XML-HaXml-Types.html#t:Document">Document</a> ()</li><li class="src short"><a href="#v:fromXml">fromXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="Text-XML-HaXml-Types.html#t:Document">Document</a> <a href="Text-XML-HaXml-Posn.html#t:Posn">Posn</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a</li><li class="src short"><a href="#v:readXml">readXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a</li><li class="src short"><a href="#v:showXml">showXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:fpsShowXml">fpsShowXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:fReadXml">fReadXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> a</li><li class="src short"><a href="#v:fWriteXml">fWriteXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fpsWriteXml">fpsWriteXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:hGetXml">hGetXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> a</li><li class="src short"><a href="#v:hPutXml">hPutXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fpsHPutXml">fpsHPutXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li></ul></div><div id="interface"><h1 id="g:1">Re-export everything from Text.XML.HaXml.XmlContent.Parser.</h1><div class="top"><p class="src">module <a href="Text-XML-HaXml-XmlContent-Parser.html">Text.XML.HaXml.XmlContent.Parser</a></p></div><div class="top"><p class="src">module <a href="Text-XML-HaXml-TypeMapping.html">Text.XML.HaXml.TypeMapping</a></p></div><h1 id="g:2">Contains instances of the XmlContent classes,</h1><h1 id="g:3">Whole-document conversion functions</h1><div class="top"><p class="src"><a id="v:toXml" class="def">toXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="Text-XML-HaXml-Types.html#t:Document">Document</a> () <a href="src/Text-XML-HaXml-XmlContent.html#toXml" class="link">Source</a> <a href="#v:toXml" class="selflink">#</a></p><div class="doc"><p>Convert a fully-typed XML document to a string (with or without DTD).</p></div></div><div class="top"><p class="src"><a id="v:fromXml" class="def">fromXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="Text-XML-HaXml-Types.html#t:Document">Document</a> <a href="Text-XML-HaXml-Posn.html#t:Posn">Posn</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a <a href="src/Text-XML-HaXml-XmlContent.html#fromXml" class="link">Source</a> <a href="#v:fromXml" class="selflink">#</a></p><div class="doc"><p>Read a Haskell value from an XML document, ignoring the DTD and
   using the Haskell result type to determine how to parse it.</p></div></div><div class="top"><p class="src"><a id="v:readXml" class="def">readXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> a <a href="src/Text-XML-HaXml-XmlContent.html#readXml" class="link">Source</a> <a href="#v:readXml" class="selflink">#</a></p><div class="doc"><p>Read a fully-typed XML document from a string.</p></div></div><div class="top"><p class="src"><a id="v:showXml" class="def">showXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-XML-HaXml-XmlContent.html#showXml" class="link">Source</a> <a href="#v:showXml" class="selflink">#</a></p><div class="doc"><p>Convert a fully-typed XML document to a string (without DTD).</p></div></div><div class="top"><p class="src"><a id="v:fpsShowXml" class="def">fpsShowXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Text-XML-HaXml-XmlContent.html#fpsShowXml" class="link">Source</a> <a href="#v:fpsShowXml" class="selflink">#</a></p><div class="doc"><p>Convert a fully-typed XML document to a ByteString (without DTD).</p></div></div><div class="top"><p class="src"><a id="v:fReadXml" class="def">fReadXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> a <a href="src/Text-XML-HaXml-XmlContent.html#fReadXml" class="link">Source</a> <a href="#v:fReadXml" class="selflink">#</a></p><div class="doc"><p>Read an XML document from a file and convert it to a fully-typed
   Haskell value.</p></div></div><div class="top"><p class="src"><a id="v:fWriteXml" class="def">fWriteXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Text-XML-HaXml-XmlContent.html#fWriteXml" class="link">Source</a> <a href="#v:fWriteXml" class="selflink">#</a></p><div class="doc"><p>Write a fully-typed Haskell value to the given file as an XML
   document.</p></div></div><div class="top"><p class="src"><a id="v:fpsWriteXml" class="def">fpsWriteXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Text-XML-HaXml-XmlContent.html#fpsWriteXml" class="link">Source</a> <a href="#v:fpsWriteXml" class="selflink">#</a></p><div class="doc"><p>Write any Haskell value to the given file as an XML document,
   using the FastPackedString interface (output will not be prettified).</p></div></div><div class="top"><p class="src"><a id="v:hGetXml" class="def">hGetXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> a <a href="src/Text-XML-HaXml-XmlContent.html#hGetXml" class="link">Source</a> <a href="#v:hGetXml" class="selflink">#</a></p><div class="doc"><p>Read a fully-typed XML document from a file handle.</p></div></div><div class="top"><p class="src"><a id="v:hPutXml" class="def">hPutXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Text-XML-HaXml-XmlContent.html#hPutXml" class="link">Source</a> <a href="#v:hPutXml" class="selflink">#</a></p><div class="doc"><p>Write a fully-typed XML document to a file handle.</p></div></div><div class="top"><p class="src"><a id="v:fpsHPutXml" class="def">fpsHPutXml</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Text-XML-HaXml-XmlContent.html#fpsHPutXml" class="link">Source</a> <a href="#v:fpsHPutXml" class="selflink">#</a></p><div class="doc"><p>Write a fully-typed XML document to a file handle, using the
   FastPackedString interface (output will not be prettified).</p></div></div><h1>Orphan instances</h1><div id="section.orphans" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:XmlContent:XmlContent:1" class="instance expander" onclick="toggleSection('i:o:ic:XmlContent:XmlContent:1')"></span> <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></span> <a href="src/Text-XML-HaXml-XmlContent.html#line-152" class="link">Source</a> <a href="#v:-36-fXmlContentChar" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:o:ic:XmlContent:XmlContent:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:parseContents">parseContents</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XMLParser">XMLParser</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-XML-HaXml-XmlContent-Parser.html#parseContents" class="link">Source</a> <a href="#v:parseContents" class="selflink">#</a></p><p class="src"><a href="#v:toContents">toContents</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; [<a href="Text-XML-HaXml-Types.html#t:Content">Content</a> ()] <a href="src/Text-XML-HaXml-XmlContent-Parser.html#toContents" class="link">Source</a> <a href="#v:toContents" class="selflink">#</a></p><p class="src"><a href="#v:xToChar">xToChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-XML-HaXml-XmlContent-Parser.html#xToChar" class="link">Source</a> <a href="#v:xToChar" class="selflink">#</a></p><p class="src"><a href="#v:xFromChar">xFromChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-XML-HaXml-XmlContent-Parser.html#xFromChar" class="link">Source</a> <a href="#v:xFromChar" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:XmlContent:XmlContent:2" class="instance expander" onclick="toggleSection('i:o:ic:XmlContent:XmlContent:2')"></span> <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> [a]</span> <a href="src/Text-XML-HaXml-XmlContent.html#line-162" class="link">Source</a> <a href="#v:-36-fXmlContent-91--93-" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:o:ic:XmlContent:XmlContent:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:parseContents">parseContents</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XMLParser">XMLParser</a> [a] <a href="src/Text-XML-HaXml-XmlContent-Parser.html#parseContents" class="link">Source</a> <a href="#v:parseContents" class="selflink">#</a></p><p class="src"><a href="#v:toContents">toContents</a> :: [a] -&gt; [<a href="Text-XML-HaXml-Types.html#t:Content">Content</a> ()] <a href="src/Text-XML-HaXml-XmlContent-Parser.html#toContents" class="link">Source</a> <a href="#v:toContents" class="selflink">#</a></p><p class="src"><a href="#v:xToChar">xToChar</a> :: [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-XML-HaXml-XmlContent-Parser.html#xToChar" class="link">Source</a> <a href="#v:xToChar" class="selflink">#</a></p><p class="src"><a href="#v:xFromChar">xFromChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; [a] <a href="src/Text-XML-HaXml-XmlContent-Parser.html#xFromChar" class="link">Source</a> <a href="#v:xFromChar" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:XmlContent:XmlContent:3" class="instance expander" onclick="toggleSection('i:o:ic:XmlContent:XmlContent:3')"></span> <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> a =&gt; <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XmlContent">XmlContent</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</span> <a href="src/Text-XML-HaXml-XmlContent.html#line-176" class="link">Source</a> <a href="#v:-36-fXmlContentMaybe" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:o:ic:XmlContent:XmlContent:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:parseContents">parseContents</a> :: <a href="Text-XML-HaXml-XmlContent-Parser.html#t:XMLParser">XMLParser</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a) <a href="src/Text-XML-HaXml-XmlContent-Parser.html#parseContents" class="link">Source</a> <a href="#v:parseContents" class="selflink">#</a></p><p class="src"><a href="#v:toContents">toContents</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a -&gt; [<a href="Text-XML-HaXml-Types.html#t:Content">Content</a> ()] <a href="src/Text-XML-HaXml-XmlContent-Parser.html#toContents" class="link">Source</a> <a href="#v:toContents" class="selflink">#</a></p><p class="src"><a href="#v:xToChar">xToChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-XML-HaXml-XmlContent-Parser.html#xToChar" class="link">Source</a> <a href="#v:xToChar" class="selflink">#</a></p><p class="src"><a href="#v:xFromChar">xFromChar</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Text-XML-HaXml-XmlContent-Parser.html#xFromChar" class="link">Source</a> <a href="#v:xFromChar" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>