DTD ( Document Type Definition ) Tutorial | Search for a title, author or keyword | ||||||||
DTD ( Document Type Definition ) Tutorial The purpose of a DTD ( Document Type Definition ) is to define the legal building blocks of an XML document. A DTD defines the document structure with a list of legal elements and attributes. Seen from a DTD point of view, all XML documents ( and HTML documents ) are made up by the following building blocks: Elements, Attributes, Entities, PCDATA, CDATA. Examples of HTML elements are "body", "table", "hr", "br" and "img". Attributes provide extra information about elements. Entities are characters that have a special meaning in XML, like the less than sign ( < ) that defines the start of an XML tag. PCDATA means parsed character data ( the text found between the start tag and the end tag of an XML element ). PCDATA is text that WILL be parsed by a parser. CDATA means character data. CDATA is text that will NOT be parsed by a parser. This tutorial will teach you how to describe the structure of an XML document. By W3Schools, the number one online education source for beginning Web developers.
|
|||||||||
DTD ( Document Type Definition ) Tutorial | Disclaimer: this link points to content provided by other sites. |