/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Html-Parse.html is in libghc-haxml-doc 1:1.25.3-4build1.
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 | <!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.Html.Parse</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-HaXml-Html-Parse.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-XML-HaXml-Html-Parse.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.3: Utilities for manipulating XML documents</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Text.XML.HaXml.Html.Parse</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This is a parser for HTML documents. Unlike for XML documents, it
must include a certain amount of error-correction to account for
HTML features like self-terminating tags, unterminated tags, and
incorrect nesting. The input is tokenised by the
XML lexer (a separate lexer is not required for HTML).</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:htmlParse">htmlParse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="Text-XML-HaXml-Types.html#t:Document">Document</a> <a href="Text-XML-HaXml-Posn.html#t:Posn">Posn</a></li><li class="src short"><a href="#v:htmlParse-39-">htmlParse'</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="Text-XML-HaXml-Types.html#t:Document">Document</a> <a href="Text-XML-HaXml-Posn.html#t:Posn">Posn</a>)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:htmlParse" class="def">htmlParse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="Text-XML-HaXml-Types.html#t:Document">Document</a> <a href="Text-XML-HaXml-Posn.html#t:Posn">Posn</a> <a href="src/Text-XML-HaXml-Html-Parse.html#htmlParse" class="link">Source</a></p><div class="doc"><p>The first argument is the name of the file, the second is the string
contents of the file. The result is the generic representation of
an XML document. Any errors cause program failure with message to stderr.</p></div></div><div class="top"><p class="src"><a name="v:htmlParse-39-" class="def">htmlParse'</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="Text-XML-HaXml-Types.html#t:Document">Document</a> <a href="Text-XML-HaXml-Posn.html#t:Posn">Posn</a>) <a href="src/Text-XML-HaXml-Html-Parse.html#htmlParse%27" class="link">Source</a></p><div class="doc"><p>The first argument is the name of the file, the second is the string
contents of the file. The result is the generic representation of
an XML document. Any parsing errors are returned in the <code>Either</code> type.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|