Variable tags
Variable tags can be used to create dynamic web pages as well as
making web pages that are easier to maintain. The tags have one thing
in common, they store and retrieve information from different places:
- variables
-
Form variables, as well as variables
created with tags like <set> and <cset>. Variables
are the backbone of RXML programming.
- other
-
Other variables only exist in output
tags, like <sqloutput>. The most common use is to transfer a
value available from the output tag to a real variable, by
using <set variable=foo other=bar>.
- defines
-
or macros are fully internal to the server.
They are mostly used for to save authors typing repetitive blocks of
text.
- tags
-
It is possible to define new tags, or to
redefine an existing HTML tag.
- packages
-
Packages are ready-to-use defines and tags
provided by the administrator of the server.
The variable tags are:
- <set>
-
Sets a variable to a new value.
- <unset>
-
Unsets a variable.
- <cset>
-
Sets a variable to the contents
of the tag.
- <append>
-
Appends a value to a
variable.
- <define>
-
Defines new tags, container
tags or defines.
- <undefine>
-
Undefines a previously
defined tag, container tag or define.
- <insert>
-
Inserts values from files,
cookies, defines or variables.
- <use>
-
Reads tags, container tags and
defines from a file or package.
- <formoutput>
-
A tag for inserting
variables into just about any context.
|