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

Chapter 19. Introduction to XML and Cold... > Understanding Document Type Definiti...

Understanding Document Type Definitions

DTDs are a nice concept in that they enable developers to add and change rules about XML documents without necessarily having to change the document or the data in it. This allows for much greater flexibility.

So far, we have learned about attributes and elements but not about DTDs. Let’s look at a DTD and learn how to create one. Listing 19.2 shows an example of a DTD.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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