XML Rules

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

XML Rules

If a document conforms to the rules then it is well formed.

You can leave a response, or trackback from your own site.

Leave a Reply


4 − = three