docs.roxen.comBack to normal mode
DocsRoxen2.2Web Site Creator ManualProgramming Tags
Copyright © 2004, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

<maketag></maketag>

Provided by module: Tags: RXML 2 tags

This tag creates tags. The contents of the container will be put into the contents of the produced container.


Attributes

name="string"

The name of the tag that should be produced. This attribute is required for tags, containers and processing instructions, i.e. for the types 'tag', 'container' and 'pi'.


<maketag name='one' type='tag'></maketag>
<maketag name='one' type='tag' noxml='noxml'></maketag>
In the output source code, this would look like:
<one />
<one>

noxml

Tags should not be terminated with a trailing slash. Only makes a difference for the type 'tag'.


type="{tag, container, pi, comment, cdata}"

What kind of tag should be produced. The argument 'Pi' will produce a processing instruction tag.


<maketag type='pi' name='PICS'>l gen true r (n 0 s 0 v 0 l 2)</maketag>
In the output source code, this would look like:
<?PICS l gen true r (n 0 s 0 v 0 l 2)?>

<maketag type='comment'>Menu starts here</maketag>
In the output source code, this would look like:
<!--Menu starts here-->

<maketag type='comment'>Debug: &form.res; &var.sql;</maketag>

<maketag type='cdata'>Exact   words</maketag>
In the output source code, this would look like:
<![CDATA[Exact   words]]>

<attrib></attrib>

Provided by module: Tags: RXML 2 tags

Inside the maketag container the container <attrib> is defined. It is used to add attributes to the produced tag. The contents of the attribute container will be the attribute value. E.g.


Attributes


<eval>
<maketag name="replace" type="container">
 <attrib name="from">A</attrib>
 <attrib name="to">U</attrib>
 MAD
</maketag>
</eval>
MUD
name="string"

The name of the attribute.