This file is indexed.

/usr/share/doc/libghc-hsp-doc/html/HSP-XML.html is in libghc-hsp-doc 0.10.0-5.

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
<!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>HSP.XML</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_HSP-XML.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/HSP-XML.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">hsp-0.10.0: Haskell Server Pages is a library for writing dynamic server-side web pages.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) Niklas Broberg 2008-2013</td></tr><tr><th>License</th><td>BSD-style (see the file LICENSE.txt)</td></tr><tr><th>Maintainer</th><td>Niklas Broberg, niklas.broberg@gmail.com</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>Haskell 98</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">HSP.XML</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">The <code>XML</code> datatype</a></li><li><a href="#g:2">The Attribute type</a></li><li><a href="#g:3">Functions</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Datatypes and type classes comprising the basic model behind
 the scenes of Haskell Server Pages tags.</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"><span class="keyword">data</span> <a href="#t:XML">XML</a><ul class="subs"><li>= <a href="#v:Element">Element</a> <a href="HSP-XML.html#t:NSName">NSName</a> <a href="HSP-XML.html#t:Attributes">Attributes</a> <a href="HSP-XML.html#t:Children">Children</a></li><li>| <a href="#v:CDATA">CDATA</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:XMLMetaData">XMLMetaData</a> = <a href="#v:XMLMetaData">XMLMetaData</a> {<ul class="subs"><li><a href="#v:doctype">doctype</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>)</li><li><a href="#v:contentType">contentType</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li><li><a href="#v:preferredRenderer">preferredRenderer</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy-Builder.html#t:Builder">Builder</a></li></ul>}</li><li class="src short"><span class="keyword">type</span> <a href="#t:Namespace">Namespace</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:NSName">NSName</a> = (<a href="HSP-XML.html#t:Namespace">Namespace</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>)</li><li class="src short"><span class="keyword">type</span> <a href="#t:Attributes">Attributes</a> = [<a href="HSP-XML.html#t:Attribute">Attribute</a>]</li><li class="src short"><span class="keyword">type</span> <a href="#t:Children">Children</a> = [<a href="HSP-XML.html#t:XML">XML</a>]</li><li class="src short"><a href="#v:pcdata">pcdata</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XML.html#t:XML">XML</a></li><li class="src short"><a href="#v:cdata">cdata</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XML.html#t:XML">XML</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Attribute">Attribute</a> = <a href="#v:MkAttr">MkAttr</a> (<a href="HSP-XML.html#t:NSName">NSName</a>, <a href="HSP-XML.html#t:AttrValue">AttrValue</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:AttrValue">AttrValue</a><ul class="subs"><li>= <a href="#v:Value">Value</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li><li>| <a href="#v:NoValue">NoValue</a></li></ul></li><li class="src short"><a href="#v:attrVal">attrVal</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XML.html#t:AttrValue">AttrValue</a></li><li class="src short"><a href="#v:pAttrVal">pAttrVal</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XML.html#t:AttrValue">AttrValue</a></li><li class="src short"><a href="#v:renderXML">renderXML</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li><li class="src short"><a href="#v:isElement">isElement</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isCDATA">isCDATA</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fromStringLit">fromStringLit</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li></ul></div><div id="interface"><h1 id="g:1">The <code><a href="HSP-XML.html#t:XML">XML</a></code> datatype</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:XML" class="def">XML</a> <a href="src/HSP-XML.html#XML" class="link">Source</a> <a href="#t:XML" class="selflink">#</a></p><div class="doc"><p>The XML datatype representation. Is either an Element or CDATA.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Element" class="def">Element</a> <a href="HSP-XML.html#t:NSName">NSName</a> <a href="HSP-XML.html#t:Attributes">Attributes</a> <a href="HSP-XML.html#t:Children">Children</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:CDATA" class="def">CDATA</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:XML" class="caption collapser" onclick="toggleSection('i:XML')">Instances</p><div id="section.i:XML" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:Show:1" class="instance expander" onclick="toggleSection('i:id:XML:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="HSP-XML.html#t:XML">XML</a></span> <a href="src/HSP-XML.html#line-82" class="link">Source</a> <a href="#t:XML" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="HSP-XML.html#t:XML">XML</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:XMLGenerator:2" class="instance expander" onclick="toggleSection('i:id:XML:XMLGenerator:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:XMLGenerator">XMLGenerator</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)</span> <a href="src/HSP-XMLGenerator.html#line-114" class="link">Source</a> <a href="#t:XMLGenerator" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:XMLGenerator:2" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:XMLGen:3" class="instance expander" onclick="toggleSection('i:id:XML:XMLGen:3')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:XMLGen">XMLGen</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)</span> <a href="src/HSP-XMLGenerator.html#line-26" class="link">Source</a> <a href="#t:XMLGen" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:XMLGen:3" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="HSP-XMLGenerator.html#t:XMLType">XMLType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a>) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/HSP-XMLGenerator.html#XMLType" class="link">Source</a> <a href="#t:XMLType" class="selflink">#</a></p><p class="src"><span class="keyword">type</span> <a href="HSP-XMLGenerator.html#t:StringType">StringType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a>) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/HSP-XMLGenerator.html#StringType" class="link">Source</a> <a href="#t:StringType" class="selflink">#</a></p><p class="src"><span class="keyword">data</span> <a href="HSP-XMLGenerator.html#t:ChildType">ChildType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a>) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/HSP-XMLGenerator.html#ChildType" class="link">Source</a> <a href="#t:ChildType" class="selflink">#</a></p><p class="src"><span class="keyword">data</span> <a href="HSP-XMLGenerator.html#t:AttributeType">AttributeType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a>) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/HSP-XMLGenerator.html#AttributeType" class="link">Source</a> <a href="#t:AttributeType" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:genElement">genElement</a> :: <a href="HSP-XMLGenerator.html#t:Name">Name</a> (<a href="HSP-XMLGenerator.html#t:StringType">StringType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)) -&gt; [<a href="HSP-XMLGenerator.html#t:XMLGenT">XMLGenT</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) [<a href="HSP-XMLGenerator.html#t:AttributeType">AttributeType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)]] -&gt; [<a href="HSP-XMLGenerator.html#t:XMLGenT">XMLGenT</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) [<a href="HSP-XMLGenerator.html#t:ChildType">ChildType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)]] -&gt; <a href="HSP-XMLGenerator.html#t:XMLGenT">XMLGenT</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:XMLType">XMLType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)) <a href="src/HSP-XMLGenerator.html#genElement" class="link">Source</a> <a href="#v:genElement" class="selflink">#</a></p><p class="src"><a href="#v:genEElement">genEElement</a> :: <a href="HSP-XMLGenerator.html#t:Name">Name</a> (<a href="HSP-XMLGenerator.html#t:StringType">StringType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)) -&gt; [<a href="HSP-XMLGenerator.html#t:XMLGenT">XMLGenT</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) [<a href="HSP-XMLGenerator.html#t:AttributeType">AttributeType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)]] -&gt; <a href="HSP-XMLGenerator.html#t:XMLGenT">XMLGenT</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:XMLType">XMLType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)) <a href="src/HSP-XMLGenerator.html#genEElement" class="link">Source</a> <a href="#v:genEElement" class="selflink">#</a></p><p class="src"><a href="#v:xmlToChild">xmlToChild</a> :: <a href="HSP-XMLGenerator.html#t:XMLType">XMLType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) -&gt; <a href="HSP-XMLGenerator.html#t:ChildType">ChildType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#xmlToChild" class="link">Source</a> <a href="#v:xmlToChild" class="selflink">#</a></p><p class="src"><a href="#v:pcdataToChild">pcdataToChild</a> :: <a href="HSP-XMLGenerator.html#t:StringType">StringType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) -&gt; <a href="HSP-XMLGenerator.html#t:ChildType">ChildType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#pcdataToChild" class="link">Source</a> <a href="#v:pcdataToChild" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:AppendChild:4" class="instance expander" onclick="toggleSection('i:id:XML:AppendChild:4')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:AppendChild">AppendChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="HSP-XML.html#t:XML">XML</a></span> <a href="src/HSP-XMLGenerator.html#line-45" class="link">Source</a> <a href="#t:AppendChild" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:AppendChild:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:appChild">appChild</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenChild">GenChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) -&gt; <a href="HSP-XMLGenerator.html#t:GenXML">GenXML</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#appChild" class="link">Source</a> <a href="#v:appChild" class="selflink">#</a></p><p class="src"><a href="#v:appAll">appAll</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenChildList">GenChildList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) -&gt; <a href="HSP-XMLGenerator.html#t:GenXML">GenXML</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#appAll" class="link">Source</a> <a href="#v:appAll" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:SetAttr:5" class="instance expander" onclick="toggleSection('i:id:XML:SetAttr:5')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:SetAttr">SetAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="HSP-XML.html#t:XML">XML</a></span> <a href="src/HSP-XMLGenerator.html#line-38" class="link">Source</a> <a href="#t:SetAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:SetAttr:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:setAttr">setAttr</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttribute">GenAttribute</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) -&gt; <a href="HSP-XMLGenerator.html#t:GenXML">GenXML</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#setAttr" class="link">Source</a> <a href="#v:setAttr" class="selflink">#</a></p><p class="src"><a href="#v:setAll">setAll</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) -&gt; <a href="HSP-XMLGenerator.html#t:GenXML">GenXML</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#setAll" class="link">Source</a> <a href="#v:setAll" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:6" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:6')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="HSP-XML.html#t:Attribute">Attribute</a></span> <a href="src/HSP-XMLGenerator.html#line-73" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XML.html#t:Attribute">Attribute</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsChild:7" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsChild:7')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsChild">EmbedAsChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) ()</span> <a href="src/HSP-XMLGenerator.html#line-70" class="link">Source</a> <a href="#t:EmbedAsChild" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsChild:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asChild">asChild</a> :: () -&gt; <a href="HSP-XMLGenerator.html#t:GenChildList">GenChildList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asChild" class="link">Source</a> <a href="#v:asChild" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsChild:8" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsChild:8')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsChild">EmbedAsChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a></span> <a href="src/HSP-XMLGenerator.html#line-67" class="link">Source</a> <a href="#t:EmbedAsChild" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsChild:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asChild">asChild</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenChildList">GenChildList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asChild" class="link">Source</a> <a href="#v:asChild" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsChild:9" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsChild:9')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsChild">EmbedAsChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></span> <a href="src/HSP-XMLGenerator.html#line-64" class="link">Source</a> <a href="#t:EmbedAsChild" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsChild:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asChild">asChild</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenChildList">GenChildList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asChild" class="link">Source</a> <a href="#v:asChild" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsChild:10" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsChild:10')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsChild">EmbedAsChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></span> <a href="src/HSP-XMLGenerator.html#line-61" class="link">Source</a> <a href="#t:EmbedAsChild" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsChild:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asChild">asChild</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenChildList">GenChildList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asChild" class="link">Source</a> <a href="#v:asChild" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsChild:11" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsChild:11')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsChild">EmbedAsChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></span> <a href="src/HSP-XMLGenerator.html#line-58" class="link">Source</a> <a href="#t:EmbedAsChild" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsChild:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asChild">asChild</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenChildList">GenChildList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asChild" class="link">Source</a> <a href="#v:asChild" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsChild:12" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsChild:12')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsChild">EmbedAsChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="HSP-XML.html#t:XML">XML</a></span> <a href="src/HSP-XMLGenerator.html#line-52" class="link">Source</a> <a href="#t:EmbedAsChild" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsChild:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asChild">asChild</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenChildList">GenChildList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asChild" class="link">Source</a> <a href="#v:asChild" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsChild:13" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsChild:13')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsChild">EmbedAsChild</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) [<a href="HSP-XML.html#t:XML">XML</a>]</span> <a href="src/HSP-XMLGenerator.html#line-55" class="link">Source</a> <a href="#t:EmbedAsChild" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsChild:13" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asChild">asChild</a> :: [<a href="HSP-XML.html#t:XML">XML</a>] -&gt; <a href="HSP-XMLGenerator.html#t:GenChildList">GenChildList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asChild" class="link">Source</a> <a href="#v:asChild" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:14" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:14')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> ())</span> <a href="src/HSP-XMLGenerator.html#line-111" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:14" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> () -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:15" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:15')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> ())</span> <a href="src/HSP-XMLGenerator.html#line-108" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:15" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> () -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:16" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:16')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>)</span> <a href="src/HSP-XMLGenerator.html#line-105" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:16" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:17" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:17')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>)</span> <a href="src/HSP-XMLGenerator.html#line-102" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:17" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:18" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:18')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>)</span> <a href="src/HSP-XMLGenerator.html#line-98" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:18" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:19" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:19')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>)</span> <a href="src/HSP-XMLGenerator.html#line-94" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:19" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:20" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:20')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>)</span> <a href="src/HSP-XMLGenerator.html#line-91" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:20" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:21" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:21')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>)</span> <a href="src/HSP-XMLGenerator.html#line-88" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:21" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:22" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:22')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>)</span> <a href="src/HSP-XMLGenerator.html#line-85" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:22" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:23" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:23')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>)</span> <a href="src/HSP-XMLGenerator.html#line-82" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:23" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:24" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:24')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>)</span> <a href="src/HSP-XMLGenerator.html#line-79" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:24" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:EmbedAsAttr:25" class="instance expander" onclick="toggleSection('i:id:XML:EmbedAsAttr:25')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) (<a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>)</span> <a href="src/HSP-XMLGenerator.html#line-76" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:EmbedAsAttr:25" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XMLGenerator.html#t:Attr">Attr</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:XMLType:26" class="instance expander" onclick="toggleSection('i:id:XML:XMLType:26')"></span> <span class="keyword">type</span> <a href="HSP-XMLGenerator.html#t:XMLType">XMLType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)</span> <a href="src/HSP-XMLGenerator.html#line-27" class="link">Source</a> <a href="#t:XMLType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:XMLType:26" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="HSP-XMLGenerator.html#t:XMLType">XMLType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) = <a href="HSP-XML.html#t:XML">XML</a></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:StringType:27" class="instance expander" onclick="toggleSection('i:id:XML:StringType:27')"></span> <span class="keyword">type</span> <a href="HSP-XMLGenerator.html#t:StringType">StringType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)</span> <a href="src/HSP-XMLGenerator.html#line-28" class="link">Source</a> <a href="#t:StringType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:StringType:27" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="HSP-XMLGenerator.html#t:StringType">StringType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) = <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:ChildType:28" class="instance expander" onclick="toggleSection('i:id:XML:ChildType:28')"></span> <span class="keyword">data</span> <a href="HSP-XMLGenerator.html#t:ChildType">ChildType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)</span> <a href="src/HSP-XMLGenerator.html#line-29" class="link">Source</a> <a href="#t:ChildType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:ChildType:28" class="inst-details hide"><div class="src"><span class="keyword">data</span> <a href="HSP-XMLGenerator.html#t:ChildType">ChildType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) = <a id="v:HSPChild" class="def">HSPChild</a> {<ul class="inst"><li class="inst"><a id="v:unHSPChild" class="def">unHSPChild</a> :: <a href="HSP-XML.html#t:XML">XML</a></li></ul>}</div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:XML:AttributeType:29" class="instance expander" onclick="toggleSection('i:id:XML:AttributeType:29')"></span> <span class="keyword">data</span> <a href="HSP-XMLGenerator.html#t:AttributeType">AttributeType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m)</span> <a href="src/HSP-XMLGenerator.html#line-30" class="link">Source</a> <a href="#t:AttributeType" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:XML:AttributeType:29" class="inst-details hide"><div class="src"><span class="keyword">data</span> <a href="HSP-XMLGenerator.html#t:AttributeType">AttributeType</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) = <a id="v:HSPAttr" class="def">HSPAttr</a> {<ul class="inst"><li class="inst"><a id="v:unHSPAttr" class="def">unHSPAttr</a> :: <a href="HSP-XML.html#t:Attribute">Attribute</a></li></ul>}</div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:XMLMetaData" class="def">XMLMetaData</a> <a href="src/HSP-XML.html#XMLMetaData" class="link">Source</a> <a href="#t:XMLMetaData" class="selflink">#</a></p><div class="doc"><p>The XMLMetaData datatype</p><p>Specify the DOCTYPE, content-type, and preferred render for XML data.</p><p>See also: <code><a href="HSP-Monad.html#v:setMetaData">setMetaData</a></code> and <code><a href="HSP-Monad.html#v:withMetaData">withMetaData</a></code></p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:XMLMetaData" class="def">XMLMetaData</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:doctype" class="def">doctype</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>)</dfn><div class="doc"><p>(show doctype when rendering, DOCTYPE string)</p></div></li><li><dfn class="src"><a id="v:contentType" class="def">contentType</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:preferredRenderer" class="def">preferredRenderer</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy-Builder.html#t:Builder">Builder</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Namespace" class="def">Namespace</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/HSP-XML.html#Namespace" class="link">Source</a> <a href="#t:Namespace" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:NSName" class="def">NSName</a> = (<a href="HSP-XML.html#t:Namespace">Namespace</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/HSP-XML.html#NSName" class="link">Source</a> <a href="#t:NSName" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Attributes" class="def">Attributes</a> = [<a href="HSP-XML.html#t:Attribute">Attribute</a>] <a href="src/HSP-XML.html#Attributes" class="link">Source</a> <a href="#t:Attributes" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Children" class="def">Children</a> = [<a href="HSP-XML.html#t:XML">XML</a>] <a href="src/HSP-XML.html#Children" class="link">Source</a> <a href="#t:Children" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pcdata" class="def">pcdata</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XML.html#t:XML">XML</a> <a href="src/HSP-XML.html#pcdata" class="link">Source</a> <a href="#v:pcdata" class="selflink">#</a></p><div class="doc"><p>Embeds a string as a CDATA XML value.</p></div></div><div class="top"><p class="src"><a id="v:cdata" class="def">cdata</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XML.html#t:XML">XML</a> <a href="src/HSP-XML.html#cdata" class="link">Source</a> <a href="#v:cdata" class="selflink">#</a></p><div class="doc"><p>Embeds a string as a CDATA XML value.</p></div></div><h1 id="g:2">The Attribute type</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Attribute" class="def">Attribute</a> <a href="src/HSP-XML.html#Attribute" class="link">Source</a> <a href="#t:Attribute" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MkAttr" class="def">MkAttr</a> (<a href="HSP-XML.html#t:NSName">NSName</a>, <a href="HSP-XML.html#t:AttrValue">AttrValue</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Attribute" class="caption collapser" onclick="toggleSection('i:Attribute')">Instances</p><div id="section.i:Attribute" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Attribute:Show:1" class="instance expander" onclick="toggleSection('i:id:Attribute:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="HSP-XML.html#t:Attribute">Attribute</a></span> <a href="src/HSP-XML.html#line-57" class="link">Source</a> <a href="#t:Attribute" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Attribute:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="HSP-XML.html#t:Attribute">Attribute</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="HSP-XML.html#t:Attribute">Attribute</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="HSP-XML.html#t:Attribute">Attribute</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Attribute:EmbedAsAttr:2" class="instance expander" onclick="toggleSection('i:id:Attribute:EmbedAsAttr:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> m) =&gt; <a href="HSP-XMLGenerator.html#t:EmbedAsAttr">EmbedAsAttr</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="HSP-XML.html#t:Attribute">Attribute</a></span> <a href="src/HSP-XMLGenerator.html#line-73" class="link">Source</a> <a href="#t:EmbedAsAttr" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Attribute:EmbedAsAttr:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:asAttr">asAttr</a> :: <a href="HSP-XML.html#t:Attribute">Attribute</a> -&gt; <a href="HSP-XMLGenerator.html#t:GenAttributeList">GenAttributeList</a> (<a href="HSP-Monad.html#t:HSPT">HSPT</a> <a href="HSP-XML.html#t:XML">XML</a> m) <a href="src/HSP-XMLGenerator.html#asAttr" class="link">Source</a> <a href="#v:asAttr" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:AttrValue" class="def">AttrValue</a> <a href="src/HSP-XML.html#AttrValue" class="link">Source</a> <a href="#t:AttrValue" class="selflink">#</a></p><div class="doc"><p>Represents an attribue value.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Value" class="def">Value</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:NoValue" class="def">NoValue</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:AttrValue" class="caption collapser" onclick="toggleSection('i:AttrValue')">Instances</p><div id="section.i:AttrValue" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:AttrValue:Show:1" class="instance expander" onclick="toggleSection('i:id:AttrValue:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="HSP-XML.html#t:AttrValue">AttrValue</a></span> <a href="src/HSP-XML.html#line-70" class="link">Source</a> <a href="#t:AttrValue" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:AttrValue:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="HSP-XML.html#t:AttrValue">AttrValue</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="HSP-XML.html#t:AttrValue">AttrValue</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="HSP-XML.html#t:AttrValue">AttrValue</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:attrVal" class="def">attrVal</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XML.html#t:AttrValue">AttrValue</a> <a href="src/HSP-XML.html#attrVal" class="link">Source</a> <a href="#v:attrVal" class="selflink">#</a></p><div class="doc"><p>Create an attribue value from a string.</p></div></div><div class="top"><p class="src"><a id="v:pAttrVal" class="def">pAttrVal</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="HSP-XML.html#t:AttrValue">AttrValue</a> <a href="src/HSP-XML.html#pAttrVal" class="link">Source</a> <a href="#v:pAttrVal" class="selflink">#</a></p><div class="doc"><p>Create an attribue value from a string.</p></div></div><h1 id="g:3">Functions</h1><div class="top"><p class="src"><a id="v:renderXML" class="def">renderXML</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/HSP-XML.html#renderXML" class="link">Source</a> <a href="#v:renderXML" class="selflink">#</a></p><div class="doc"><p>Pretty-prints XML values.</p></div></div><div class="top"><p class="src"><a id="v:isElement" class="def">isElement</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/HSP-XML.html#isElement" class="link">Source</a> <a href="#v:isElement" class="selflink">#</a></p><div class="doc"><p>Test whether an XML value is an Element or CDATA</p></div></div><div class="top"><p class="src"><a id="v:isCDATA" class="def">isCDATA</a> :: <a href="HSP-XML.html#t:XML">XML</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/HSP-XML.html#isCDATA" class="link">Source</a> <a href="#v:isCDATA" class="selflink">#</a></p><div class="doc"><p>Test whether an XML value is an Element or CDATA</p></div></div><div class="top"><p class="src"><a id="v:fromStringLit" class="def">fromStringLit</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/HSP-XML.html#fromStringLit" class="link">Source</a> <a href="#v:fromStringLit" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>