NOTATION statement is used to define notations. Notations allow the XML document to pass notifying information to external applications.
- The name of the notation. Required for all notation definitions.
The public identifier for the notation. Only required if the declaration uses the
- The value for the notation. Required for all notation definitions. Typically, if the notation is public it is a Uniform Resource Identifier (URI), readable to humans but not to machines. For system-based notations, the value might reference the file name of the application on the system that can be used to assist in handling non-XML data. For example, you might declare a notation to assist in handling an unparsed external entity, such as an image file in JPEG or GIF file format.
Notation for declaring your own data type
The following declares a notation that can be used to reference a custom catalog document type you have defined.
<!NOTATION MyCatalog SYSTEM "http://example.microsoft.com/catalog">
Notation for declaring a MIME type
The following declares a notation in the DTD to allow support for unparsed entities that reference image files in the GIF file format.
<!NOTATION image_gif SYSTEM "image/gif">