The NOTATION Declaration

NOTATIONS are used to identify the format of unparsed entities (non-XML data), elements with a notation attribute, or specific processing instructions.

<!NOTATION name SYSTEM "URI">
<!NOTATION name PUBLIC "public_ID">
<!NOTATION name PUBLIC "public_ID" "URI">

where:
Unparsed Entity Example:
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE img [
	<!ELEMENT img EMPTY>
	<!ATTLIST img src ENTITY #REQUIRED>
	<!ENTITY logo SYSTEM "http://www.xmlwriter.net/logo.gif" NDATA gif>
	<!NOTATION gif PUBLIC "gif viewer">
]>
<img src="logo"/>
Notation Attribute Example:
<?xml version="1.0"?>
<!DOCTYPE code [
	<!ELEMENT code (#PCDATA)>
	<!NOTATION vrml PUBLIC "VRML 1.0">
	<!ATTLIST code lang NOTATION (vrml) #REQUIRED>
]>
<code lang="vrml">Some VRML instructions</code>

<<Previous Section Contents
Main Contents
Next>>