IntroductionIntroduction
  Publishing web pagesPublishing web pages
  RXMLRXML
  Information tagsInformation tags
  String tagsString tags
  Variable tagsVariable tags
    <set>set<set>set
    <unset>unset<unset>unset
    <cset>cset<cset>cset
    <append>append<append>append
    <define>define<define>define
    <undefine>undefine<undefine>undefine
    <insert>insert<insert>insert
    <use>use<use>use
    <formoutput>formoutput<formoutput>formoutput
  URL tagsURL tags
  If tagsIf tags
  Graphics tagsGraphics tags
  Database tagsDatabase tags
  LDAPLDAP
  Programming tagsProgramming tags
  SSI tagsSSI tags
  Image mapsImage maps
  IntraSeekIntraSeek
  LogViewLogView
  TemplatesTemplates
  NavigationNavigation
  SiteBuilder tagsSiteBuilder tags
  Supports systemSupports system
  SecuritySecurity
  AppendixAppendix
 
<formoutput> </> Main RXML parser

 

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

By default, the variable will be HTML quoted, that is, < will be inserted as &lt; > as &gt; and & as &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=scheme#. The different quoting schemes are:

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

html
The default quoting, for inserting into regular HTML or RXML.

dtag
For inserting into HTML or RXML attributes that are quoted with ". For example {img src="/base/#image#"}.

stag
For inserting into HTML or RXML attributes that are quoted with '. For example {img src='/base/#image#'}.

url
For inserting variables into URLs.

pike
For inserting into Pike strings, for use with the <pike> tag.

js, javascript
For inserting into Javascript strings.

mysql
For inserting into MySQL SQL queries.

sql, oracle
For inserting into SQL queries.

Attributes

quote
Select the string used for quoting the variable, default is #.

encode
Set the default quoting scheme for all variables inserted with this tag.

 

Attributes

quote
Select the string used for quoting the variable, default is #.

encode
Set the default quoting scheme for all variables inserted with this tag.




Hello $foo$


"=> >

Hello $foo$

 

Example





Hello $foo$


"=> >

Hello $foo$