|  | | Decoding XML and the DTD | | | Description: Decoding XML and the DTD | | All XML documents must be both well-formed and valid. But how do you determine whether your XML documents meet those requirements? The short answer is that you don't. Or at least, you don't have to. Most of the time, you'll rely on an XML parser to manage the dirty work for you. This introductory article shows how to create XML Document Type Definitions (DTDs) and well-formed, well-defined XML files that can be validated by the XML parser of your choice. While you don't have to include a DTD with every XML file you produce, doing so will make your life a lot easier. Not only will a DTD enforce the syntax you've established for your XML files, it will also allow your files to be parsed by a validating XML parser. Code samples include DTD and XML document examples. | | Information:: Decoding XML and the DTD | | Title: | Decoding XML and the DTD | | Author: | Decoding XML and the DTD | | Last Updated: | Mon Dec 16 2002 | | Home Page: | Click to Visit | | Web site Language: | English | | Current Rating: | 0.00 | | Total Hits #: | 83 | | Listings ID #: | 5642 | | Reviews for Decoding XML and the DTD | |  |
|