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 &amp;, &lt;, &gt;, &quot;, and &apos;.

The attr element is also supported for compatibility with earlier versions of the product.

Related concepts
Message flows overview
Related tasks
Developing message flows
Related reference
The XML message body
XML element
XML message body example: elements, attributes, and content
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:20:51

ad06350_