• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Creating XML Document Type D... > Getting Sophisticated with External ...

Getting Sophisticated with External DTDs

So far you have already learned that you can achieve quite a lot with a standalone XML document. Although you have all the benefits of portability by keeping the DTD inside the XML document itself, you are only just touching the surface of what can be achieved when you take the next logical step and use an external DTD subset.

The fact that it's called a document type definition already gives a clue that a DTD is intended for use with more than one XML document. Indeed, by not using an external DTD subset, you miss out on a lot of features of XML as well as the capability to use the DTD as a kind of template for a limitless set of XML documents. In XML contexts, the external DTD subset is often called an external DTD. XML has one DTD, but it's a composite of both the internal DTD subset and the external DTD subset.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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