XML attribute
This syntax element is the default name-value element supported by the XML parser. Use it to represent the attributes that are associated with its parent element. The name and value of the syntax element correspond to the name and value of the attribute that is being represented. Attribute elements have no children, and must always be children of an element.
When attributes are written
to a message, occurrences of ampersand (&), less than (<),
greater than (>), double quotation mark ("), and apostrophe (') within
the attribute value are replaced by the predefined XML entities &
, <
, >
, "
,
and '
.
The attr
element
is also supported for compatibility with earlier versions of the product.