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 8: White Space Is Preserved

If you’re in the habit of adding extra spaces and hard returns in your HTML code, watch out! Such spacing is honored by XML and can play havoc with your applications. Use extra spacing judiciously.

9. Rule 9: Avoid HTML Tags (Optional) | Next Section Previous Section