do-set-default-attr-value

The <do-set-default-attr-value> action causes the values specified by <arg-value>'s to be added to the current operation for named attribute if no values for that attribute already exist. It is only valid when the current operation is <add>. If write-back="true" default values are also written back to the source object.

Example

<do-set-default-attr-value name="L">
  <arg-value>
    <token-text>Unknown</token-text>
  </arg-value>
</do-set-default-attr-value>

1. Allowed Content

arg-value
value argument

2. Attributes

AttributeValue(s)Default Value
disabled true   |  false
true if this element is disabled
false
name CDATA
name of the attribute
supports variable expansion
#REQUIRED
notrace true   |  false
false
write-back true   |  false
true if the default value should also be written back to the source object
false

3. Content Rule

( arg-value + )

4. Parent Elements

actions
  actions that are performed by a <rule>
arg-actions
  actions argument

Top Elements || All Elements || Tree


DirXMLScript DTD