
<!-- THIS-IS-INTERNAL-RXML-DOC-AUTOMATICLY-GENERATED-FROM-THE-MANUAL -->
</dump-if>







































































<table cellpadding=1 cellspacing=0 border=0>
<tr>
<td bgcolor=#113377 width=1%>



<b><font color=#ffffff size=+3 >&nbsp;&lt;formoutput&gt;&nbsp;...&nbsp;&lt;/formoutput&gt;&nbsp;</font></b>

</td>
<td>
<img src=/internal-roxen-unit width=200 height=1 alt=""></td>
</tr>

<tr>
<td bgcolor=black colspan=2>


<table cellpadding=4 border=0 cellspacing=0 width=100%>
<tr>
<td bgcolor=#ffffff>



<tt>&lt;formoutput&gt;</tt> is defined in the <i>Main RXML parser</i> module.
<p>
A tag for inserting variables into just about any context. By default
anything within #'s will be interpreted as a variable. Thus #name#
will be replaced by the value of the variable name. ## will be
replaced by a #.

<p>By default, the variable will be HTML quoted, that is, &lt; will be
inserted as &amp;lt; &gt; as &amp;gt; and &amp; as &amp;amp;. However, there
are instances when that is not what you want, for example, when
inserting variables into SQL queries. Therefore, the quoting can be
controlled by #variable : quote=<i>scheme</i>#. The different quoting
schemes are:



<dl>
<p><dt><tt><b>none</b></tt><dd>
No quoting. This is dangerous and should never be used unless you have
total control over the contents of the variable. If the variable
contains an RXML tag, the tag will be parsed.

<p><dt><tt><b>html</b></tt><dd>
The default quoting, for inserting into regular HTML or RXML.

<p><dt><tt><b>dtag</b></tt><dd>
For inserting into HTML or RXML attributes that are quoted with ". For
example <doc><tt>{{img src="/base/#image#"}}</font></tt></doc>.

<p><dt><tt><b>stag</b></tt><dd>
For inserting into HTML or RXML attributes that are quoted with '. For
example <doc><tt>{{img src='/base/#image#'}}</font></tt></doc>.

<p><dt><tt><b>url</b></tt><dd>
For inserting variables into URLs.

<p><dt><tt><b>pike</b></tt><dd>
For inserting into Pike strings, for use with the <tt>&lt;pike&gt;</tt> tag.

<p><dt><tt><b>js, javascript</b></tt><dd>
For inserting into Javascript strings.

<p><dt><tt><b>mysql</b></tt><dd>
For inserting into MySQL SQL queries.

<p><dt><tt><b>sql, oracle</b></tt><dd>
For inserting into SQL queries.
</dl>


<br clear=all>
<img src=/internal-roxen-unit width=1 height=10 alt="">

</td>
</tr>
</table>


<table cellpadding=4 border=0 cellspacing=0>
<tr>
<td bgcolor=#113377 width=1%>
<font color=white>Attributes</font>
</td>
<td bgcolor=#ffffff>
<img src=/internal-roxen-unit width=100% height=1 alt=""></td>
</tr>
<tr>

<td bgcolor=#ffffff colspan=2>






<a href="#quote">quote</a>,
&nbsp;

</td>
</tr>
</table>


</td>
</tr>
</table>






































<p>
<b><font color=#113377 size=+2 >Attributes</font></b>



<dl>

<p><dt><tt><b><a name="quote">quote</a></b></tt>

<dd>
Select the string used for quoting the variable, default is #.



</dl>










<b><font color=#113377 size=+2 >Example</font></b>


<table border=0 cellpadding=1 cellspacing=0 bgcolor=#000000>
<tr>
<td>
<table border=0 cellspacing=0 cellpadding=4>
 <tr>
  <td valign=top bgcolor=#113377>
   <font color=#ffffff><b>source code</b></font>
  </td>
  <td bgcolor=white>
<pre><define name=foo>
<set variable=foo value="World">

<formoutput quote=$>
Hello $foo$
</formoutput>
</define>
<insert name=foo "<"=&lt; ">"=&gt; ></pre>
   <br clear=all>
   <img src=/internal-roxen-unit width=1 height=1 alt="">
  </td>
 </tr>
 <tr>
  <td height=1 bgcolor=#113377><img src=/internal-roxen-unit width=1 height=1 alt=""></td>
  <td height=1 bgcolor=#ffffff>

   <table border=0 cellpadding=0 cellspacing=0 width=100%>
    <tr>
     <td bgcolor=#000000>
     <img src=/internal-roxen-unit width=1 height=1 alt=""></td>
    </tr>
   </table>
  </td>
 </tr>
 <tr>
  <td valign=top bgcolor=#113377>
  <font color=#ffffff><b>result</b></font>
</td>
<td valign=top bgcolor=#ffffff>


<set variable=foo value="World">

<formoutput quote=$>
Hello $foo$
</formoutput>


   <br clear=all>
   <img src=/internal-roxen-unit width=1 height=1 alt="">
</td>
</tr>

</table>
</td>
</tr>
</table><p>


<if not cookie=rxml-help>

</td></tr>
</table>
</body>
</html>


