/usr/share/doc/racket/scribble-pp/html-xml.html is in racket-doc 6.1-4.
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 31 32 33 34 35 36 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>2.2 Generating XML Strings</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_0");">►</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Scribble as Preprocessor</a></td></tr></table></div><div class="tocviewsublisttop" style="display: none;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="text.html" class="tocviewlink" data-pltdoc="x">Text Generation</a></td></tr><tr><td align="right">2 </td><td><a href="html.html" class="tocviewselflink" data-pltdoc="x">HTML Generation</a></td></tr><tr><td align="right"></td><td><a href="doc-index.html" class="tocviewlink" data-pltdoc="x">Index</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_1");">▼</a></td><td>2 </td><td><a href="html.html" class="tocviewlink" data-pltdoc="x">HTML Generation</a></td></tr></table><div class="tocviewsublistbottom" style="display: block;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">2.1 </td><td><a href="html-html.html" class="tocviewlink" data-pltdoc="x">Generating HTML Strings</a></td></tr><tr><td align="right">2.2 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Generating XML Strings</a></td></tr><tr><td align="right">2.3 </td><td><a href="html-resources.html" class="tocviewlink" data-pltdoc="x">HTML Resources</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">output-<wbr></wbr>xml</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._xml-~3estring%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">xml-<wbr></wbr>>string</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._xml-writer%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">xml-<wbr></wbr>writer</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._make-element%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>element</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">element</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%2Fnot-empty%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">element/<span class="mywbr"> </span>not-<wbr></wbr>empty</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attribute~3f%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">attribute?</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attributes%2Bbody%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">attributes+<span class="mywbr"> </span>body</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._split-attributes%2Bbody%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">split-<wbr></wbr>attributes+<span class="mywbr"> </span>body</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._literal%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">literal</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._entity%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">entity</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._comment%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">comment</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._cdata%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">cdata</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._define%2Fprovide-elements%2Fempty%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">define/<span class="mywbr"> </span>provide-<wbr></wbr>elements/<span class="mywbr"> </span>empty</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._define%2Fprovide-elements%2Fnot-empty%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">define/<span class="mywbr"> </span>provide-<wbr></wbr>elements/<span class="mywbr"> </span>not-<wbr></wbr>empty</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._define%2Fprovide-entities%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">define/<span class="mywbr"> </span>provide-<wbr></wbr>entities</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.1", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.1");">top</a></span><span class="navright"> <a href="html-html.html" title="backward to "2.1 Generating HTML Strings"" data-pltdoc="x">← prev</a> <a href="html.html" title="up to "2 HTML Generation"" data-pltdoc="x">up</a> <a href="html-resources.html" title="forward to "2.3 HTML Resources"" data-pltdoc="x">next →</a></span> </div><h4 x-source-module="(lib "scribblings/scribble/scribble-pp.scrbl")" x-part-tag=""html-xml"">2.2<tt> </tt><a name="(part._html-xml)"></a><a name="(mod-path._scribble/html/xml)"></a>Generating XML Strings</h4><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/html/xml</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-html-lib</span></span></td></tr></table></div><div class="SIntrapara">The <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/html/xml</span></a>
provides functions for XML representations that <a name="(tech._xml._render)"></a><span style="font-style: italic">XML-render</span> to string form
via <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span> or <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._xml-~3estring%29%29" class="RktValLink" data-pltdoc="x">xml->string</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._output-xml))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValDef RktValLink" data-pltdoc="x">output-xml</a></span></span><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span>[<span class="RktVar">port</span>]<span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._outputable%2Fc%29%29" class="RktValLink" data-pltdoc="x">outputable/c</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">port</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=port-ops.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._output-port%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">output-port?</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=port-ops.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._current-output-port%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">current-output-port</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Renders <span class="RktVar">content</span> in the same way as <span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._output%29%29" class="RktValLink" data-pltdoc="x">output</a></span>, but using
the value of <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._xml-writer%29%29" class="RktValLink" data-pltdoc="x">xml-writer</a></span> as the <a href="text.html#%28tech._current._writer%29" class="techoutside" data-pltdoc="x"><span class="techinside">current writer</span></a> so that
special characters are escaped as needed.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._xml-~3estring))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._xml-~3estring%29%29" class="RktValDef RktValLink" data-pltdoc="x">xml->string</a></span></span><span class="hspace"> </span><span class="RktVar">content</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._outputable%2Fc%29%29" class="RktValLink" data-pltdoc="x">outputable/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Renders <span class="RktVar">content</span> to a string via <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>parameter</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._xml-writer))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._xml-writer%29%29" class="RktValDef RktValLink" data-pltdoc="x">xml-writer</a></span></span><span class="RktPn"></span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=port-ops.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._output-port%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">output-port?</a></span><span class="hspace"> </span><span class="RktPn">. </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-></span></a></span><span class="RktPn"> .</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void</a></span><span class="RktPn">)</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="RktPn">(</span><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._xml-writer%29%29" class="RktValDef RktValLink" data-pltdoc="x">xml-writer</a></span></span><span class="hspace"> </span><span class="RktVar">writer</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">writer</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=port-ops.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._output-port%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">output-port?</a></span><span class="hspace"> </span><span class="RktPn">. </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-></span></a></span><span class="RktPn"> .</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void</a></span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">A parameter for a function that is used with <span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._with-writer%29%29" class="RktValLink" data-pltdoc="x">with-writer</a></span> by
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span>. The default value is a function that escapes
<span class="RktInBG"><span class="hspace"></span><span class="RktIn">&</span><span class="hspace"></span></span>, <span class="RktInBG"><span class="hspace"></span><span class="RktIn"><</span><span class="hspace"></span></span>, <span class="RktInBG"><span class="hspace"></span><span class="RktIn">></span><span class="hspace"></span></span>, and <span class="RktInBG"><span class="hspace"></span><span class="RktIn">"</span><span class="hspace"></span></span> to entity form.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._make-element))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._make-element%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-element</a></span></span><span class="hspace"> </span><span class="RktVar">tag</span><span class="hspace"> </span><span class="RktVar">attrs</span><span class="hspace"> </span><span class="RktVar">content</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._and%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">and/c</a></span><span class="hspace"> </span><span class="RktSym">procedure</span><span class="hspace"> </span><span class="RktSym">outputable/c?</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">tag</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">attrs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._cons%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">cons/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span><span class="hspace"> </span><span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._outputable%2Fc%29%29" class="RktValLink" data-pltdoc="x">outputable/c</a></span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._outputable%2Fc%29%29" class="RktValLink" data-pltdoc="x">outputable/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Produces a value that <a href="#%28tech._xml._render%29" class="techoutside" data-pltdoc="x"><span class="techinside">XML-renders</span></a> as XML for the
given tag, attributes, and content.</div></p><p>When an attribute in <span class="RktVar">attrs</span> is mapped to <span class="RktVal">#f</span>, then it
is skipped. When an attribute is mapped to <span class="RktVal">#t</span>, then it is
rendered as present, but without a value.</p><p><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Examples:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._make-element%29%29" class="RktValLink" data-pltdoc="x">make-element</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">b</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">(</span><span class="RktVal">)</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">(</span><span class="RktVal">"Try"</span><span class="hspace"> </span><span class="RktVal">#\space</span><span class="hspace"> </span><span class="RktVal">"Racket"</span><span class="RktVal">)</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><b>Try Racket</b></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._make-element%29%29" class="RktValLink" data-pltdoc="x">make-element</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">a</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">(</span><span class="RktVal">(</span><span class="RktVal">href</span><span class="hspace"> </span><span class="RktVal">. </span><span class="RktVal">"http://racket-lang.org"</span><span class="RktVal">)</span><span class="RktVal">)</span><span class="hspace"> </span><span class="RktVal">"Racket"</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><a href="http://racket-lang.org">Racket</a></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._make-element%29%29" class="RktValLink" data-pltdoc="x">make-element</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">div</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">(</span><span class="RktVal">(</span><span class="RktVal">class</span><span class="hspace"> </span><span class="RktVal">. </span><span class="RktVal">"big"</span><span class="RktVal">)</span><span class="hspace"> </span><span class="RktVal">(</span><span class="RktVal">overlay</span><span class="hspace"> </span><span class="RktVal">. </span><span class="RktVal">#t</span><span class="RktVal">)</span><span class="RktVal">)</span><span class="hspace"> </span><span class="RktVal">"example"</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><div class="big" overlay>example</div></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr></table></blockquote></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._element))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="RktValDef RktValLink" data-pltdoc="x">element</a></span></span><span class="hspace"> </span><span class="RktVar">tag</span><span class="hspace"> </span><span class="RktVar">attrs-and-content</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=if.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fletstx-scheme..rkt%2529._and%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">and</a></span><span class="hspace"> </span><span class="RktSym">procedure</span><span class="hspace"> </span><span class="RktSym">outputable/c?</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">tag</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">attrs-and-content</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._make-element%29%29" class="RktValLink" data-pltdoc="x">make-element</a></span>, but the list of <span class="RktVar">attrs-and-content</span>
is parsed via <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attributes%2Bbody%29%29" class="RktValLink" data-pltdoc="x">attributes+body</a></span> to separate the attributes and
content.</div></p><p><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Examples:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="RktValLink" data-pltdoc="x">element</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">b</span><span class="hspace"> </span><span class="RktVal">"Try"</span><span class="hspace"> </span><span class="RktVal">#\space</span><span class="hspace"> </span><span class="RktVal">"Racket"</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><b>Try Racket</b></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="RktValLink" data-pltdoc="x">element</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">a</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">href:</span><span class="hspace"> </span><span class="RktVal">"http://racket-lang.org"</span><span class="hspace"> </span><span class="RktVal">"Racket"</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><a href="http://racket-lang.org">Racket</a></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="RktValLink" data-pltdoc="x">element</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">div</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">class:</span><span class="hspace"> </span><span class="RktVal">"big"</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">overlay:</span><span class="hspace"> </span><span class="RktVal">#t</span><span class="hspace"> </span><span class="RktVal">"example"</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><div class="big" overlay>example</div></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="hspace"> </span><span class="RktSym">scribble/html</span><span class="RktPn">)</span></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="RktValLink" data-pltdoc="x">element</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">div</span><span class="hspace"> </span><span class="RktSym">class:</span><span class="hspace"> </span><span class="RktVal">"big"</span><span class="hspace"> </span><span class="RktSym">overlay:</span><span class="hspace"> </span><span class="RktVal">#t</span><span class="hspace"> </span><span class="RktVal">"example"</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><div class="big" overlay>example</div></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr></table></blockquote></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._element/not-empty))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%2Fnot-empty%29%29" class="RktValDef RktValLink" data-pltdoc="x">element/not-empty</a></span></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">tag</span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">attrs-and-content</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._and%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">and/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=procedures.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._procedure%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">procedure?</a></span><span class="hspace"> </span><span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._outputable%2Fc%29%29" class="RktValLink" data-pltdoc="x">outputable/c</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">tag</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">attrs-and-content</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="RktValLink" data-pltdoc="x">element</a></span>, but the result always renders with an separate
closing tag.</div></p><p><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Examples:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="RktValLink" data-pltdoc="x">element</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">span</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><span /></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%2Fnot-empty%29%29" class="RktValLink" data-pltdoc="x">element/not-empty</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">span</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><span></span></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr></table></blockquote></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._attribute~3f))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attribute~3f%29%29" class="RktValDef RktValLink" data-pltdoc="x">attribute?</a></span></span><span class="hspace"> </span><span class="RktVar">v</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">v</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns a symbol without if <span class="RktVar">v</span> is a symbol that ends with
<span class="RktInBG"><span class="hspace"></span><span class="RktIn">:</span><span class="hspace"></span></span>, <span class="RktVal">#f</span> otherwise. When a symbol is returned, it is
the same as <span class="RktVar">v</span>, but without the trailing <span class="RktInBG"><span class="hspace"></span><span class="RktIn">:</span><span class="hspace"></span></span>.</div></p><p><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Examples:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attribute~3f%29%29" class="RktValLink" data-pltdoc="x">attribute?</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">a:</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktRes">'a</span></p></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attribute~3f%29%29" class="RktValLink" data-pltdoc="x">attribute?</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">a</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktRes">#f</span></p></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="hspace"> </span><span class="RktSym">scribble/html</span><span class="RktPn">)</span></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attribute~3f%29%29" class="RktValLink" data-pltdoc="x">attribute?</a></span><span class="hspace"> </span><span class="RktSym">a:</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktRes">'a</span></p></td></tr></table></blockquote></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._attributes+body))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attributes%2Bbody%29%29" class="RktValDef RktValLink" data-pltdoc="x">attributes+body</a></span></span><span class="hspace"> </span><span class="RktVar">lst</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><table cellspacing="0" cellpadding="0"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._cons%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">cons/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="RktPn">)</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">list?</a></span></td></tr></table></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">lst</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">list?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Parses <span class="RktVar">lst</span> into an association list mapping attributes to
list elements plus a list of remaining elements. The first
even-positioned (counting from 0) non-<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attribute~3f%29%29" class="RktValLink" data-pltdoc="x">attribute?</a></span> element of
<span class="RktVar">lst</span> is the start of the “remaining elements” list, while
each preceding even-positioned attribute is mapped in the association
list to the immediately following element of <span class="RktVar">lst</span>. In the
association list, the trailing <span class="RktInBG"><span class="hspace"></span><span class="RktIn">:</span><span class="hspace"></span></span> is stripped for each
attribute.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._split-attributes+body))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._split-attributes%2Bbody%29%29" class="RktValDef RktValLink" data-pltdoc="x">split-attributes+body</a></span></span><span class="hspace"> </span><span class="RktVar">lst</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><table cellspacing="0" cellpadding="0"><tr><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">list?</a></span></td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">list?</a></span></td></tr></table></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">lst</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">list?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._attributes%2Bbody%29%29" class="RktValLink" data-pltdoc="x">attributes+body</a></span>, but produces a flat list (of
alternating attributes and value) instead of an association list as
the first result.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._literal))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._literal%29%29" class="RktValDef RktValLink" data-pltdoc="x">literal</a></span></span><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=procedures.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._procedure%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">procedure?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Produces a value that <a href="#%28tech._xml._render%29" class="techoutside" data-pltdoc="x"><span class="techinside">XML-renders</span></a> without escapes
for special characters.</div></p><p><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Examples:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._literal%29%29" class="RktValLink" data-pltdoc="x">literal</a></span><span class="hspace"> </span><span class="RktVal">"a->b"</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut">a->b</span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktVal">"a->b"</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut">a-&gt;b</span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr></table></blockquote></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._entity))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._entity%29%29" class="RktValDef RktValLink" data-pltdoc="x">entity</a></span></span><span class="hspace"> </span><span class="RktVar">v</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=procedures.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._procedure%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">procedure?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">v</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-integer?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Produces a value that <a href="#%28tech._xml._render%29" class="techoutside" data-pltdoc="x"><span class="techinside">XML-renders</span></a> as a numeric or
symbolic entity.</div></p><p><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Example:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._entity%29%29" class="RktValLink" data-pltdoc="x">entity</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">gt</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut">&gt;</span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr></table></blockquote></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._comment))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._comment%29%29" class="RktValDef RktValLink" data-pltdoc="x">comment</a></span></span><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="hspace"> </span>[<span class="RktPn">#:newlines?</span><span class="hspace"> </span><span class="RktVar">newlines?</span>]<span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=procedures.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._procedure%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">procedure?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._outputable%2Fc%29%29" class="RktValLink" data-pltdoc="x">outputable/c</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">newlines?</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr></table></blockquote></div><div class="SIntrapara">Produces a value that <a href="#%28tech._xml._render%29" class="techoutside" data-pltdoc="x"><span class="techinside">XML-renders</span></a> as a comment with
literal content. If <span class="RktVar">newlines?</span> is true, then newlines are
inserted before and after the content.</div></p><p><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Example:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._comment%29%29" class="RktValLink" data-pltdoc="x">comment</a></span><span class="hspace"> </span><span class="RktVal">"testing"</span><span class="hspace"> </span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">2</span><span class="hspace"> </span><span class="RktVal">3</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><p><span class="RktOut"><!--testing123--></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr></table></blockquote></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><a name="(def._((lib._scribble/html/xml..rkt)._cdata))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._cdata%29%29" class="RktValDef RktValLink" data-pltdoc="x">cdata</a></span></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">content</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktMeta">...</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span>[</td><td><span class="RktPn">#:newlines?</span><span class="hspace"> </span><span class="RktVar">newlines?</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:line-pfx</span><span class="hspace"> </span><span class="RktVar">line-pfx</span>]<span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=procedures.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._procedure%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">procedure?</a></span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">content</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="text.html#%28def._%28%28lib._scribble%2Ftext..rkt%29._outputable%2Fc%29%29" class="RktValLink" data-pltdoc="x">outputable/c</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">newlines?</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#t</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">line-pfx</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr></table></blockquote></div><div class="SIntrapara">Produces a value that <a href="#%28tech._xml._render%29" class="techoutside" data-pltdoc="x"><span class="techinside">XML-renders</span></a> as CDATA with
literal content. If <span class="RktVar">newlines?</span> is true, then newlines are
inserted before and after the content. The <span class="RktVar">line-pfx</span> value is
rendered before the CDATA opening and closing markers.</div></p><p><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><p>Example:</p></td></tr><tr><td><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._output-xml%29%29" class="RktValLink" data-pltdoc="x">output-xml</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._cdata%29%29" class="RktValLink" data-pltdoc="x">cdata</a></span><span class="hspace"> </span><span class="RktVal">"testing"</span><span class="hspace"> </span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">2</span><span class="hspace"> </span><span class="RktVal">3</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><p><span class="RktOut"><![CDATA[</span></p></td></tr><tr><td><p><span class="RktOut">testing123</span></p></td></tr><tr><td><p><span class="RktOut">]]></span></p></td></tr></table></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td></tr></table></blockquote></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/html/xml..rkt)._define/provide-elements/empty))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._define%2Fprovide-elements%2Fempty%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">define/provide-elements/empty</a></span></span><span class="hspace"> </span><span class="RktVar">tag-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Defines and exports <span class="RktVar">tag-id</span> as a function that is like
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%29%29" class="RktValLink" data-pltdoc="x">element</a></span>, but with <span class="RktVal">'</span><span class="RktVal">tag-id</span> added as the first argument.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/html/xml..rkt)._define/provide-elements/not-empty))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._define%2Fprovide-elements%2Fnot-empty%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">define/provide-elements/not-empty</a></span></span><span class="hspace"> </span><span class="RktVar">tag-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Defines and exports <span class="RktVar">tag-id</span> as a function that is like
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._element%2Fnot-empty%29%29" class="RktValLink" data-pltdoc="x">element/not-empty</a></span>, but with <span class="RktVal">'</span><span class="RktVal">tag-id</span> added as the
first argument.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/html/xml..rkt)._define/provide-entities))"></a><span title="Provided from: scribble/html/xml | Package: scribble-html-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._define%2Fprovide-entities%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">define/provide-entities</a></span></span><span class="hspace"> </span><span class="RktVar">entity-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Defines and exports <span class="RktVar">entity-id</span> as the
result of <span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml%2Fxml..rkt%29._entity%29%29" class="RktValLink" data-pltdoc="x">entity</a></span><span class="stt"> </span><span class="RktVal">'</span><span class="RktVal">entity-id</span><span class="RktPn">)</span>.</div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.1", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.1");">top</a></span><span class="navright"> <a href="html-html.html" title="backward to "2.1 Generating HTML Strings"" data-pltdoc="x">← prev</a> <a href="html.html" title="up to "2 HTML Generation"" data-pltdoc="x">up</a> <a href="html-resources.html" title="forward to "2.3 HTML Resources"" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|