Following rules must be applied when working with XML:
- Single, unique root element
- Matching open/close tags
- Consistent capitalisation
- Correctly nested elements (no overlapping elements)
- Attribute values enclosed in quotes
- No repeating attributes in an element
If a document conforms to the rules then it is well formed.
Be the first to comment