ATTRIBOPTIONVTML 2

ATTRIBOPTION defines one possible value for an attribute with a predefined list of possible values.

The following subjects are covered in this document:


Related information about VTML and WIZML:

Tutorial
The Visual Tool Markup Language (VTML)
Reference
VTML reference - overview
Context
ATTRIBUTES Section
ATTRIB

top

Tools

ATTRIBOPTION plays a role in the following VTML-driven tools:

  1. Tag Inspector
  2. Tag Insight
  3. Tag Tip

top


Location

The ATTRIBOPTION tag can occur only inside an ATTRIB tag of TYPE="Enumerated".

top


Function

The ATTRIBOPTION tag has three functions:

  1. It inserts a value into the list that appears in the Tag Inspector for the attribute being edited.
  2. It inserts the same value into the list that appears in the Tag Insight window after the attribute has been entered.
  3. It inserts a value into the list of possible attribute values in a Tag Tip.

top


Syntax and Attributes

<ATTRIBOPTION .../>
VALUE Required. The value which will be written to the document when this option is selected.
CAPTION (Optional) A description of the option to be inserted into the display list. The display defaults to the value of the VALUE attribute if this attribute is omitted.

top


Usage Notes

While both a Tag Editor and Tag Inspector show the values of the CAPTION attributes as a list of possible values, Tag Insight will show the values of the VALUE attributes in a dropdown list to choose from. This implies that if you use the CAPTION for instance to indicate which of the possible values for an attribute is the default, this type of information will be hidden when the user uses Tag Insight.

top