It defines a XML attribute of the enclosing element. The content of the element is the attribute value, while the name attribute specifies the attribute name. It is useful if the value of an attribute is sophisticated, or the attribute is conditional.
Attribute Name |
Description |
---|---|
name |
[Required] Specifies the attribute name. |
trim |
[Optional][Default: false] Specifies whether to omit the leading and trailing whitespaces of the attribute value. |
if |
[Optional][Default: none] Specifies the condition to evaluate this element. |
unless |
[Optional][Default: none] Specifies the condition not to evaluate this element. |