Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XML Schemas

NOTATION

The NOTATION statement is used to define notations. Notations allow the XML document to pass notifying information to external applications.

Syntax

<!NOTATION name [SYSTEM|PUBLIC publicID] resource >

Parameters

name
The name of the notation. Required for all notation definitions.
publicID
The public identifier for the notation. Only required if the declaration uses the PUBLIC keyword.
resource
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.

Examples

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">

See Also

ATTLIST (Attribute List) | ELEMENT | ENTITY