Declaring Notations

By definition, unparsed entities can't be parsed by an XML parser, so it is necessary to provide additional information about an unparsed entity. This information includes the type of the entity, along with helper information that can be used to process the entity's content. Notations are used to specify this information for an unparsed entity and are required of all unparsed entities. The following is an example of a notation that describes the GIF image type:

<!NOTATION GIF SYSTEM "GIF">

In this example, the name of the notation is GIF and the helper information is GIF as well. It is expected that an XML application could somehow use the helper information to query the system for the GIF type in order to figure out how ...

Get XML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.