Home / Articles / Adobe InDesign / Nine Rules for Creating Good XML

Nine Rules for Creating Good XML

Article Description

HTML allows you to be a little lax, but XML is a sterner taskmaster. James J. Maivald and Cathy Palmer have come up with nine simple rules that will help you to create well-formed XML every time.

Rule 4: Tag Names Have Strict Limits

Tag names can’t start with the letters xml, a number, or punctuation, except for the underscore character (_).

The letters XML are used in various commands and can’t start your tag name. Numbers and punctuation also aren’t allowed in the beginning of the tag name.




5. Rule 5: Tag Names Are Case Sensitive | Next Section Previous Section