Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


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

Chapter 4. DTDs: Entities and Attributes

Chapter 4. DTDs: Entities and Attributes

In the previous chapter, I discussed creating DTDs and declaring the elements you use in XML documents. But there's more to DTDs than that. You can also declare attributes and entities as well, and we're going to do that in this chapter. We'll also take a look at embedding non-XML data in XML documents.