docs.roxen.comView this page in a printer friendly mode
DocsRoxen2.1Web Site Creator ManualVariable Tags
Copyright © 2001, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

<append>
<dec>
<define>
<inc>
<insert>
<insert file>
<insert href>
<insert realfile>
<insert scopes>
<insert variable>
<insert variables>
<scope>
<set>
<sprintf>
<sscanf>
<undefine>
<unset>
<use>
<vform>

<define></define>

Provided by module: RXML 2 parser

Defines variables, tags, containers and if-callers.


Attributes

name="name"

Sets the defaultvalue of various tagattributes. See <tablist> for examples.


variable="name"

Sets the value of the variable to the contents of the container.


tag="name"

Defines a tag that outputs the contents of the container.


<define tag="hi">Hello &_.name;!</define>
<hi name="Martin"/>
Hello Martin!

container="name"

Defines a container that outputs the contents of the container.


if="name"

Defines an if-caller that compares something with the contents of the container.


trimwhites

Trim all white space characters from the begining and the end of the contents.


preparse="preparse"

Sends the definition through the RXML parser when defining. (Without this attribute, the definition is only RXML parsed when it is invoked.)


The values of the attributes given to the defined tag are available in the scope created within the define tag.

&_.args; (provided by RXML 2 parser)

The full list of the attributes, and their arguments, given to the tag.


&_.contents; (provided by RXML 2 parser)

The containers contents.


&_.rest-args; (provided by RXML 2 parser)

A list of the attributes, and their arguments, given to the tag, excluding attributes with default values defined.


<attrib></attrib>

Provided by module: RXML 2 parser

When defining a tag or a container the container <attrib> can be used to define default values of the attributes that the tag/container can have.


Attributes

name="name"

The name of the attribute which default value is to be set.


<contents/>

Provided by module: RXML 2 parser

As the contents entity, but unquoted.