Name
Element Type Match
Text from specification
The Name
in an
element’s end-tag must match the element type in
the start-tag.
Explanation
Proper element nesting is strictly enforced, and every open tag must be matched by a corresponding close tag.
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.