 | |  |  | 

An XML document is considered 'well written' when its syntax is correct, and 'valid' when it respects a document model. While a document must be 'well written,' it does not necessarily have to be 'valid.' However, as XML is a meta language, there are an infinite number of XML formats, and most XML documents should respect a particular document model, which can be defined in one of two ways: By a Document Type Definition (DTD); By an XML Schema. In this article, we are going to look at how you should go about implementing the former, using a DTD. View both works by Gallard, Samuel View all 31 works published by Intranet Journal |
 Defining an XML Document Model with a DTD http://www.intranetjournal.com/articles/200011/xml_11_01_00a.html
Gallard, Samuel Intranet Journal
Abstract: An XML document is considered 'well written' when its syntax is correct, and 'valid' when it respects a document model. While a document must be 'well written,' it does not necessarily have to be 'valid.' However, as XML is a meta language, there are an infinite number of XML formats, and most XML documents should respect a particular document model, which can be defined in one of two ways: By a Document Type Definition (DTD); By an XML Schema. In this article, we are going to look at how you should go about implementing the former, using a DTD.
|
 |
 |  |