• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Document Type Declarations

After you have decided to use a DTD, the first step is to associate it with an XML document with a document type declaration. The document type definition (DTD) is an XML description of the content model of a type (or class) of documents. The document type declaration is a statement in an XML file that identifies the DTD that belongs to the document, and if an external DTD file is used, it identifies where the DTD entity (the file) can be found.

At its very simplest, a document type declaration looks like the following:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint