Categories


Decoding XML and the DTD

Raiting 0.00

Description

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
Title: Decoding XML and the DTD
Author: admin0064
Price / Cost:
Last Updated: 2002-12-16
URL: Click to Visit
Web site Language: English
Total Votes: 7
Current Rating: 0.00
Total Hits #: 1000
Listings ID #: 5642