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 9: Avoid HTML Tags (Optional)

Because you can name tags anything you want, you could use tags reserved for HTML markup, such as <h1>, <p>, <li>, and so on. Although permissible in XML, avoid using such tag names unless you want the data to be formatted that way when it’s viewed in a browser window.