ArborX


<@>

Longname: @   Open the Documentation Legend
Released: 7.98 
Created: n/a�
See also: <@@>

Summary
Used in conjunction with <@@> to support/format attributes and values within elements/tags. This command defines either the start and end of the attribute values outer group for a particluar attribute with the characters { } respectively, the attribute name to jump to, or the default if an attribute name is not defined. Each set of single or multiple @ attribute groups is a wrapper for single or multiple sub attribute value groups using the <@@> command.
Example extract

The setup below support the tag: <tokenloops id="text" att="text">. And some fixed output values with default fallback for `if not defined value' and `if not defined attribute'.

  1
 <!-- if defined (as showifdef) jump to psuedo labels for :id and :att --> 2
 <@{> 3
 <!-- if there was an attribute called "id" you will reach here --> 4
 <!--start id attribute group--> 5
 <@id> 6
 <!-- jump to the values of "id" --> 7
 <!--start id values group--> 8
 <@@{> 9
 <@@chris>id value was <?tic=Blue>chris<?tic=Black> 10
 <@@western>id value was <?tic=Cyan>western<?tic=Black> 11
 <!-- if not a value of (Advent, 3B2) then use the following --> 12
 <@@*>using (<?tic=orange>default<?tic=Black> for id value not listed) 13
 <@@}> 14
 <!--end values group--> 15
 <!-- if there was an attribute called "att" you will reach here --> 16
 <!--start att attribute group--> 17
 <@att> 18
 <!--start att values group--> 19
 <@@{> 20
 <!-- jump to the values of "att" --> 21
 <@@one>att value was <?tic=Magenta>one<?tic=Black> 22
 <@@two>att value was <?tic=Green>two<?tic=Black> 23
 <!-- if not a value of (one,two) then use the following --> 24
 <@@*>using (<?tic=yellow>default<?tic=Black> for att value not listed) 25
 <@@}> 26
 <!--end values group--> 27
 <!-- if the any attribute other than 'id' or 'att' appear you should come here --> 28
 <@*><?tic=red>UNEXPECTED ATTRIBUTE<?tic=Black> attibute 29
 <!-- end of all the attributes and their values --> 30
 <@}> 31

Syntax (n/a)
{:L

Open the attribute value sub groups wrapper. e.g.<@{>

}:L

Close the attribute value sub groups wrapper. e.g.<@}>

*:L

If an attribute name is not defined or supported in a unique label e.g.<@attrib1> default to this action/output.

name:s

The name of the attribute you wish to provide corresponding action/output for. e.g.<@attrib2>


Document created on 30-Sep-2004 (revision 1)