Friday, December 01, 2006

DTD (Data Type Definition)

The purpose of DTD is to define the legal building blocks of an XML documetn. It defines the documents structures with a list of legal elements.

DTD is an XML file:

Why DTD?
With dtd, each of xml file can carry a description of its own format with it
Independent groups of ppl can agree to use a common dtd for interchanging data
To verify that the data

Building Block
XML document are made up by: Elements, Tags, Attributes, Entities, PCDATA, CDATA

No comments: