| Roxen/6.2.236-git | ||
Roxen Interactive RXML Help
<maketag></maketag>
This tag creates tags. The content is used as content of the produced container.
Attributes
- name
- 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> <one /> <one>
- noxml
Tags should not be terminated with a trailing slash. Only makes a difference for the type 'tag'.
- type
- 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> <?PICS l gen true r (n 0 s 0 v 0 l 2)?>
<maketag type='comment'>Menu starts here</maketag> <!--Menu starts here-->
<maketag type='comment'>Debug: &form.res; &var.sql;</maketag>
<maketag type='cdata'>Exact words</maketag> <![CDATA[Exact words]]>Defined in content
<attrib></attrib>
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.
<eval> <maketag name="replace" type="container"> <attrib name="from">A</attrib> <attrib name="to">U</attrib> MAD </maketag> </eval>MUD Attributes
- name
- name=string
This attribute is required.
The name of the attribute.