O'Reilly logo

XML Pocket Consultant by William R. Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. XML Entities and Notations in DTDs

In addition to elements and attributes, document type definitions (DTDs) can contain entity and notation declarations. In this chapter you’ll learn how to declare and use both of these declaration types. Since encoded characters are similar to entities, this chapter also discusses encoded characters.

Getting Started with Entities and Notations

In its basic form, an entity is a component, based on a declaration, that can be substituted into a document. The component can be a text string or any type of file. Because entities allow text and files to be substituted into a document, you can use entities to replace values when a document is displayed. Notations are used with certain types of entities to specify ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required