Each XML document contains one or more elements, the boundaries of which are either delimited by:
<myElementName></myElementName>
<empty/> <!-- Empty Element -->
The element structure of an XML document may, for validation purposes, be constrained using declarations.
]] + content + ]]Each element has:
The full name of an element consists of its local_name and its namespace URI.
Example:
<namespace:local-name>
Its name without any namespace
The Name in the start- and end-tags gives the element's type. It's sometimes called its “generic identifier” (GI).
<type></type>
<name></name>
<id></id>
<gi></gi>
You can define the schema between element type via element type declaration
See XML - Attribute
What is an in-line xml element ? vs XML - Structure element