This file is indexed.

/usr/share/doc/libghc-hxt-doc/html/Text-XML-HXT-Arrow-XmlState-SystemConfig.html is in libghc-hxt-doc 9.3.1.15-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
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!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.Arrow.XmlState.SystemConfig</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-Arrow-XmlState-SystemConfig.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.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.3.1.15: A collection of tools for processing XML with Haskell.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>Copyright (C) 2010 Uwe Schmidt</td></tr><tr><th>License</th><td>MIT</td></tr><tr><th>Maintainer</th><td>Uwe Schmidt (uwe@fh-wedel.de)</td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Text.XML.HXT.Arrow.XmlState.SystemConfig</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>system configuration and common options options</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:withTrace">withTrace</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withSysAttr">withSysAttr</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withAcceptedMimeTypes">withAcceptedMimeTypes</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>] -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withMimeTypeHandler">withMimeTypeHandler</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:IOSArrow">IOSArrow</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withMimeTypeFile">withMimeTypeFile</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withFileMimeType">withFileMimeType</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withWarnings">withWarnings</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withErrors">withErrors</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withRemoveWS">withRemoveWS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withPreserveComment">withPreserveComment</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withParseByMimeType">withParseByMimeType</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withParseHTML">withParseHTML</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withValidate">withValidate</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withSubstDTDEntities">withSubstDTDEntities</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withSubstHTMLEntities">withSubstHTMLEntities</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withCheckNamespaces">withCheckNamespaces</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withCanonicalize">withCanonicalize</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withIgnoreNoneXmlContents">withIgnoreNoneXmlContents</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withStrictInput">withStrictInput</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withEncodingErrors">withEncodingErrors</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withInputEncoding">withInputEncoding</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withDefaultBaseURI">withDefaultBaseURI</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withInputOption">withInputOption</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withInputOptions">withInputOptions</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:Attributes">Attributes</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withRedirect">withRedirect</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withProxy">withProxy</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withIndent">withIndent</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withOutputEncoding">withOutputEncoding</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withOutputXML">withOutputXML</a> :: <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withOutputHTML">withOutputHTML</a> :: <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withOutputXHTML">withOutputXHTML</a> :: <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withOutputPLAIN">withOutputPLAIN</a> :: <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withXmlPi">withXmlPi</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withNoEmptyElemFor">withNoEmptyElemFor</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>] -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withAddDefaultDTD">withAddDefaultDTD</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withTextMode">withTextMode</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withShowTree">withShowTree</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withShowHaskell">withShowHaskell</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withCompression">withCompression</a> :: (<a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:CompressionFct">CompressionFct</a>, <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:DeCompressionFct">DeCompressionFct</a>) -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:withStrictDeserialize">withStrictDeserialize</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a></li><li class="src short"><a href="#v:yes">yes</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:no">no</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:withTrace" class="def">withTrace</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withTrace" class="link">Source</a></p><div class="doc"><p><code>withTace level</code> : system option, set the trace level, (0..4)</p></div></div><div class="top"><p class="src"><a name="v:withSysAttr" class="def">withSysAttr</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withSysAttr" class="link">Source</a></p><div class="doc"><p><code>withSysAttr key value</code> : store an arbitarty key value pair in system state</p></div></div><div class="top"><p class="src"><a name="v:withAcceptedMimeTypes" class="def">withAcceptedMimeTypes</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>] -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withAcceptedMimeTypes" class="link">Source</a></p><div class="doc"><p>Specify the set of accepted mime types.</p><p>All contents of documents for which the mime type is not found in this list
 are discarded.</p></div></div><div class="top"><p class="src"><a name="v:withMimeTypeHandler" class="def">withMimeTypeHandler</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:IOSArrow">IOSArrow</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withMimeTypeHandler" class="link">Source</a></p><div class="doc"><p>Specify a content handler for documents of a given mime type</p></div></div><div class="top"><p class="src"><a name="v:withMimeTypeFile" class="def">withMimeTypeFile</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withMimeTypeFile" class="link">Source</a></p><div class="doc"><p><code>withMimeTypeFile filename</code> : input option,
 set the mime type table for <code>file:</code> documents by given file.
 The format of this config file must be in the syntax of a debian linux &quot;mime.types&quot; config file</p></div></div><div class="top"><p class="src"><a name="v:withFileMimeType" class="def">withFileMimeType</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withFileMimeType" class="link">Source</a></p><div class="doc"><p>Force a given mime type for all file contents.</p><p>The mime type for file access will then not be computed by looking into a mime.types file</p></div></div><div class="top"><p class="src"><a name="v:withWarnings" class="def">withWarnings</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withWarnings" class="link">Source</a></p><div class="doc"><p><code>withWarnings yes/no</code> : system option, issue warnings during reading, HTML parsing and processing,
 default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:yes">yes</a></code></p></div></div><div class="top"><p class="src"><a name="v:withErrors" class="def">withErrors</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withErrors" class="link">Source</a></p><div class="doc"><p><code>withErrors yes/no</code> : system option for suppressing error messages, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code></p></div></div><div class="top"><p class="src"><a name="v:withRemoveWS" class="def">withRemoveWS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withRemoveWS" class="link">Source</a></p><div class="doc"><p><code>withRemoveWS yes/no</code> : read and write option, remove all whitespace, used for document indentation, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code></p></div></div><div class="top"><p class="src"><a name="v:withPreserveComment" class="def">withPreserveComment</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withPreserveComment" class="link">Source</a></p><div class="doc"><p><code>withPreserveComment yes/no</code> : read option, preserve comments during canonicalization, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code></p></div></div><div class="top"><p class="src"><a name="v:withParseByMimeType" class="def">withParseByMimeType</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withParseByMimeType" class="link">Source</a></p><div class="doc"><p><code>withParseByMimeType yes/no</code>  : read option, select the parser by the mime type of the document
 (pulled out of the HTTP header).</p><p>When the mime type is set to &quot;text/html&quot;
 the configured HTML parser is taken, when it's set to
 &quot;text/xml&quot; or &quot;text/xhtml&quot; the configured XML parser is taken.
 If the mime type is something else, no further processing is performed,
 the contents is given back to the application in form of a single text node.
 If the default document encoding is set to isoLatin1, this even enables processing
 of arbitray binary data.</p></div></div><div class="top"><p class="src"><a name="v:withParseHTML" class="def">withParseHTML</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withParseHTML" class="link">Source</a></p><div class="doc"><p><code>withParseHTML yes/no</code>: read option, use HTML parser, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code> (use XML parser)</p></div></div><div class="top"><p class="src"><a name="v:withValidate" class="def">withValidate</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withValidate" class="link">Source</a></p><div class="doc"><p><code>withValidate yes/no</code>: read option, validate document against DTD, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:yes">yes</a></code></p></div></div><div class="top"><p class="src"><a name="v:withSubstDTDEntities" class="def">withSubstDTDEntities</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withSubstDTDEntities" class="link">Source</a></p><div class="doc"><p><code>withSubstDTDEntities yes/no</code>: read option, substitute general entities defined in DTD, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:yes">yes</a></code>.
 switching this option and the validate option off can lead to faster parsing, because then
 there is no need to access the DTD</p></div></div><div class="top"><p class="src"><a name="v:withSubstHTMLEntities" class="def">withSubstHTMLEntities</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withSubstHTMLEntities" class="link">Source</a></p><div class="doc"><p><code>withSubstHTMLEntities yes/no</code>: read option, substitute general entities defined in HTML DTD, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code>.
 switching this option on and the substDTDEntities and validate options off can lead to faster parsing
 because there is no need to access a DTD, but still the HTML general entities are substituted</p></div></div><div class="top"><p class="src"><a name="v:withCheckNamespaces" class="def">withCheckNamespaces</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withCheckNamespaces" class="link">Source</a></p><div class="doc"><p><code>withCheckNamespaces yes/no</code>: read option, check namespaces, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code></p></div></div><div class="top"><p class="src"><a name="v:withCanonicalize" class="def">withCanonicalize</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withCanonicalize" class="link">Source</a></p><div class="doc"><p><code>withCanonicalize yes/no</code> : read option, canonicalize document, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:yes">yes</a></code></p></div></div><div class="top"><p class="src"><a name="v:withIgnoreNoneXmlContents" class="def">withIgnoreNoneXmlContents</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withIgnoreNoneXmlContents" class="link">Source</a></p><div class="doc"><p><code>withIgnoreNoneXmlContents yes/no</code> : input option, ignore document contents of none XML/HTML documents.</p><p>This option can be useful for implementing crawler like applications, e.g. an URL checker.
 In those cases net traffic can be reduced.</p></div></div><div class="top"><p class="src"><a name="v:withStrictInput" class="def">withStrictInput</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withStrictInput" class="link">Source</a></p><div class="doc"><p><code>withStrictInput yes/no</code> : input option, input of file and HTTP contents is read eagerly, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code></p></div></div><div class="top"><p class="src"><a name="v:withEncodingErrors" class="def">withEncodingErrors</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withEncodingErrors" class="link">Source</a></p><div class="doc"><p><code>withEncodingErrors yes/no</code> : input option, ignore all encoding errors, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code></p></div></div><div class="top"><p class="src"><a name="v:withInputEncoding" class="def">withInputEncoding</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withInputEncoding" class="link">Source</a></p><div class="doc"><p><code>withInputEncoding encodingName</code> : input option</p><p>Set default document encoding (<code><a href="file:///usr/share/doc/libghc-hxt-unicode-doc/html/Data-String-EncodingNames.html#v:utf8">utf8</a></code>, <code><a href="file:///usr/share/doc/libghc-hxt-unicode-doc/html/Data-String-EncodingNames.html#v:isoLatin1">isoLatin1</a></code>, <code><a href="file:///usr/share/doc/libghc-hxt-unicode-doc/html/Data-String-EncodingNames.html#v:usAscii">usAscii</a></code>, <code><a href="file:///usr/share/doc/libghc-hxt-unicode-doc/html/Data-String-EncodingNames.html#v:iso8859_2">iso8859_2</a></code>, ... , <code><a href="file:///usr/share/doc/libghc-hxt-unicode-doc/html/Data-String-EncodingNames.html#v:iso8859_16">iso8859_16</a></code>, ...).
 Only XML, HTML and text documents are decoded,
 default decoding for XML/HTML is utf8, for text iso latin1 (no decoding).</p></div></div><div class="top"><p class="src"><a name="v:withDefaultBaseURI" class="def">withDefaultBaseURI</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withDefaultBaseURI" class="link">Source</a></p><div class="doc"><p><code>withDefaultBaseURI URI</code> , input option, set the default base URI</p><p>This option can be useful when parsing documents from stdin or contained in a string, and interpreting
 relative URIs within the document</p></div></div><div class="top"><p class="src"><a name="v:withInputOption" class="def">withInputOption</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withInputOption" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withInputOptions" class="def">withInputOptions</a> :: <a href="Text-XML-HXT-DOM-TypeDefs.html#t:Attributes">Attributes</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withInputOptions" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withRedirect" class="def">withRedirect</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withRedirect" class="link">Source</a></p><div class="doc"><p><code>withRedirect yes/no</code> : input option, automatically follow redirected URIs, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:yes">yes</a></code></p></div></div><div class="top"><p class="src"><a name="v:withProxy" class="def">withProxy</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withProxy" class="link">Source</a></p><div class="doc"><p><code>withProxy &quot;host:port&quot;</code> : input option, configure a proxy for HTTP access, e.g. www-cache:3128</p></div></div><div class="top"><p class="src"><a name="v:withIndent" class="def">withIndent</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withIndent" class="link">Source</a></p><div class="doc"><p><code>withIndent yes/no</code> : output option, indent document before output, default is <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:no">no</a></code></p></div></div><div class="top"><p class="src"><a name="v:withOutputEncoding" class="def">withOutputEncoding</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withOutputEncoding" class="link">Source</a></p><div class="doc"><p><code>withOutputEncoding encoding</code> , output option,
 default is the default input encoding or utf8, if input encoding is not set</p></div></div><div class="top"><p class="src"><a name="v:withOutputXML" class="def">withOutputXML</a> :: <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withOutputXML" class="link">Source</a></p><div class="doc"><p><code>withOutputXML</code> : output option, default writing</p><p>Default is writing XML: quote special XML chars &gt;,&lt;,&quot;,',&amp; where neccessary,
 add XML processing instruction
 and encode document with respect to <code><a href="Text-XML-HXT-Arrow-XmlState-SystemConfig.html#v:withOutputEncoding">withOutputEncoding</a></code></p></div></div><div class="top"><p class="src"><a name="v:withOutputHTML" class="def">withOutputHTML</a> :: <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withOutputHTML" class="link">Source</a></p><div class="doc"><p>Write XHTML: quote all special XML chars, use HTML entity refs or char refs for none ASCII chars</p></div></div><div class="top"><p class="src"><a name="v:withOutputXHTML" class="def">withOutputXHTML</a> :: <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withOutputXHTML" class="link">Source</a></p><div class="doc"><p>Write XML: quote only special XML chars, don't substitute chars by HTML entities,
 and don't generate empty elements for HTML elements,
 which may contain any contents, e.g. <code><a href="script">src=...</a><a href="/script">/script</a></code> instead of <code><a href="script">src=... /</a></code></p></div></div><div class="top"><p class="src"><a name="v:withOutputPLAIN" class="def">withOutputPLAIN</a> :: <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withOutputPLAIN" class="link">Source</a></p><div class="doc"><p>suppreses all char and entitiy substitution</p></div></div><div class="top"><p class="src"><a name="v:withXmlPi" class="def">withXmlPi</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withXmlPi" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withNoEmptyElemFor" class="def">withNoEmptyElemFor</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>] -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withNoEmptyElemFor" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withAddDefaultDTD" class="def">withAddDefaultDTD</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withAddDefaultDTD" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withTextMode" class="def">withTextMode</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withTextMode" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withShowTree" class="def">withShowTree</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withShowTree" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withShowHaskell" class="def">withShowHaskell</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withShowHaskell" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withCompression" class="def">withCompression</a> :: (<a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:CompressionFct">CompressionFct</a>, <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:DeCompressionFct">DeCompressionFct</a>) -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withCompression" class="link">Source</a></p><div class="doc"><p>Configure compression and decompression for binary serialization/deserialization.
 First component is the compression function applied after serialization,
 second the decompression applied before deserialization.</p></div></div><div class="top"><p class="src"><a name="v:withStrictDeserialize" class="def">withStrictDeserialize</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Text-XML-HXT-Arrow-XmlState-TypeDefs.html#t:SysConfig">SysConfig</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#withStrictDeserialize" class="link">Source</a></p><div class="doc"><p>Strict input for deserialization of binary data</p></div></div><div class="top"><p class="src"><a name="v:yes" class="def">yes</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#yes" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:no" class="def">no</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Text-XML-HXT-Arrow-XmlState-SystemConfig.html#no" 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.16.1</p></div></body></html>