DOCUMENT TYPE DEFINITION

  

Copyright © Philip M. Parker, INSEAD. Terms of Use.

DOCUMENT TYPE DEFINITION

Specialty Definition: DOCUMENT TYPE DEFINITION

DomainDefinition

Computing

Document Type Definition (DTD) The definition of a document type in SGML or XML, consisting of a set of mark-up tags and their interpretation. Docbook DTD home (http://www.oasis-open.org/docbook/). XML DTD Tutorial (http://www.xml101.com/dtd). (2001-04-30). Source: The Free On-line Dictionary of Computing.

Source: compiled by the editor from various references; see credits.

Top     

Specialty Definition: Document Type Definition

(From Wikipedia, the free Encyclopedia)

A Document Type Definition (DTD or DocType for short) is a declaration in an SGML or XML document that specifies constraints on the structure of the document. It may be included within the document file, but is normally stored in a separate ascii-text file. The syntax of SGML and XML DTDs is very similar but not identical.

Defining a DTD specifies the syntax of an application of SGML or XML, which may be a widely-used standard such as XHTML or a local application.

DTDs are usually employed to determine the structure of an XML or SGML document. A DTD will typically describe each allowable element within the document, the possible attributes and (optionally) the allowed attribute values for each element. Further, it will describe the nesting and occurrences of elements. Most of a DTD is usually composed of ELEMENT definitions and ATTLIST definitions.

An example of a very simple XML DTD to describe a list of persons is given below:

An example of an XML file which makes use of this DTD follows:

Fred Bloggs 27/11/2008 Male

The DTD given above requires a name element within every person element; the people_list element is also mandatory, but the rest are optional.

It is possible to render this in an XML-enabled browser (such as IE5 or Mozilla) by pasting and saving the DTD component above to a text file named example.dtd and the xml file to a differently-named text file, and opening the xml file with the browser. The files should both be saved in the same directory. However, many browsers do not check that an XML document conforms to the rules in the DTD; they are only required to check that the DTD is syntactically correct.

External links

See also: Semantic Web

Source: adapted by the editor from Wikipedia, the free encyclopedia under a copyleft GNU Free Documentation License (GFDL) from the article "Document Type Definition."

Top     

Crosswords: DOCUMENT TYPE DEFINITION

Specialty definitions using "DOCUMENT TYPE DEFINITION": DTDText Encoding Initiative. (references)

Top     

Frequency of Internet Keywords: DOCUMENT TYPE DEFINITION

The following statistics estimate the number of searches per day across the major English-language search engines as identified by various trade publications. Hyperlinks lead to commercial use of the expression at Amazon.com.
 
ExpressionFrequency
per Day

document type definition

4
Source: compiled by the editor from various references; see credits.

Top     

Modern Translation: DOCUMENT TYPE DEFINITION

Language Translations for "DOCUMENT TYPE DEFINITION"; alternative meanings/domain in parentheses.

Danish

  

dokumenttypedefinition (document definition), dokumentdefinition (document definition). (various references)

   

Dutch

  

DTD (document definition), documenttype-definitie (document definition), doctype-definitie (document definition). (various references)

   

Finnish

  

dokumenttityyppimääritys (document definition). (various references)

   

French

  

DTD (document definition), définition de type de document (document definition). (various references)

   

German

  

Dokumenttypendefinition (document definition). (various references)

   

Greek 

  

ορισμός εγγράφου (document definition), ορισμός τύπου εγγράφου (document definition). (various references)

   

Italian

  

DTD (document definition), definizione di tipo di documento (document definition), definizione di documento (document definition). (various references)

   

Pig Latin

  

ocumentday ypetay efinitionday

   

Portuguese

  

DTD (document definition), Definição de Tipo de Documento (document definition). (various references)

   

Spanish

  

definición de tipo de documento (document definition), definición de documento (document definition). (various references)

   

Swedish

  

DTD (document definition), dokumenttypsdeklaration (document definition). (various references)

Source: compiled by the editor from various translation references.

Top     



INDEX

1. Crosswords
2. Expressions: Internet
3. Translations: Modern
4. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.