User's Guide

Well-formed Documents

Well-formed documents are well-formed because they do not need to be created in a structured environment with a pre-defined set of structural rules. They do need to comply with XML well-formedness constraints. These constraints require that elements, which are named content containers, properly nest within each other and use other markup syntax correctly. Well-formed XML elements are defined by their use, instead of by a rigid structural definition, allowing authors to create new elements.

For example, authors can describe documents in XML using elements of their own naming, such as ESSAY, SECTION, PARAGRAPH, NOTE and IMPORTANT. After writing the document, the author might change an instance of the PARAGRAPH element to DESCRIPTION to indicate an instance different from the other PARAGRAPH elements. This level of flexibility is indicative of well-formed XML and allows authors to describe documents as they see fit.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]