




































































<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>



&lt;formoutput&gt; is defined in the Main RXML parser 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;. There
are however 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 a RXML tag the tag will be parsed.

<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>Arguments&nbsp;passed&nbsp;to&nbsp;the&nbsp;tag:</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>
</if not cookie=rxml-help>
