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 6: Tag Names Cannot Contain Spaces

Spaces in tag names can cause all sorts of problems with data-intensive applications, so they’re prohibited in XML.

7. Rule 7: Attribute Values Must Appear Within Quotes | Next Section Previous Section