The purpose of a notation declaration is to define the format of some external non-XML file, such as a sound or image file, so you can refer to such files in your document.
The general form of a notation declaration can be either of these:
<!NOTATIONnnamePUBLICstd> <!NOTATIONnnameSYSTEMurl>
where
is the name you are giving to the notation;
nname is
the published name of a public notation, and
std is
a reference to a program that can render a file in the
given notation.url
There are four steps to connecting an attribute to a notation:
Declare the notation. Example:
<!NOTATION jpeg PUBLIC "JPG 1.0">
Declare the entity. For example:
<!ENTITY bogie-pic SYSTEM
"http://stars.com/bogart.jpg" NDATA jpeg>Declare the attribute as type
ENTITY. For example:
<!ATTLIST star-bio pin-shot ENTITY #REQUIRED>
Use the attribute:
<star-bio pin-shot="bogie-pic">...</star-bio>