An XML element content is everything within and including the starting element to the closing element. The
content within an element can be of various types.
Element Content Types
Element content
Mixed content
Simple content
Empty content
An element attributes
Example 14.1 Summary
rootelement has element content, because it contains other elements
childelement4 has mixed content because it contains both text and other
childchildelement1 has simple content (or text content) because it contains
childelement2 has empty content, because it carries no information
Only the childelement1 element has attributes
The attribute named attribute1 has the value An attribute value