XML message body example: elements, attributes, and content

The XML document contains elements, attributes, and content.

The following are examples of an XML message body in an XML document and in tree structure form.

    <Person age="32" height="172cm">
    <Name>Cormac Keogh</Name>
    </Person>
Example XML message body tree structure