18.2.0- A Closer Look at Creating XML Documents
Created
by Brendan Doss.
|
| << 18.1.5- Breaking Beyond Data Display | Chapter18 | 18.2.1- Well-Formed Documents >> |
A Closer Look at Creating XML Documents
The XML 1.0 specification lays out two types of XML document, either well-formed or valid. The distinction between the two is simple:
- Well-formed documents comply with the rules of XML syntax. For example, all elements must have a corresponding end tag, or else have a closing slash in the empty elements; every document must have a unique opening and closing tag, etc.
- Valid documents are not only well-formed, they also comply with a DTD.
| << 18.1.5- Breaking Beyond Data Display | Chapter18 | 18.2.1- Well-Formed Documents >> |

RSS
