The <arg> Element

Purpose

The <arg> element sets an argument of an error message.

A message argument may be specified by either of the following attribute combinations:

  1. value to directly specify a value
  2. property to take the value from a validator property
  3. bundle and key to get the value from a resource

Attributes

NameTypeDescription
name NMTOKEN Name of the Argument. (This attribute may only be used in the <validators> section of the configuration file, not in the <forms> section.)
property NMTOKEN Takes the value of a property from the validator as argument value.
value CDATA Dynamic - Directly specifies the argument value.
key NMTOKEN Used in conjunction with bundle - Specifies the resource key containing the argument value.
bundle CDATA Dynamic - Used in conjunction with key - Specifies the resource bundle name to be used to lookup the argument value.

Body

The <arg> element has no body.

Related elements

<message>