13. XML Element Relationships
Elements within an XML document have relationships. These relations can be described as parents and children.
Example 13.1 Summary
- parentelement is the root element
- childelement1 and childelement2 are child elements of the element parentelement
- parentelement is the parent element of elements childelement1 and childelement2
- childelement1 and childelement2 are siblings (or sister elements) because they have the same parent