7.10 External UnParsed Entities

Declaration <!ENTITY name external-id NDATA notation-declaration>
Attribute type ENTITY
ENTITIES
Reference in attributesname
<?xml version="1.0" ?>
<!DOCTYPE doc [
    <!NOTATION gif PUBLIC
      "-//CompuServe//NOTATION Graphics Interchange Format 89a//EN" >
    <!ELEMENT doc (get)* >
    <!ELEMENT get EMPTY>
    <!ATTLIST get obj  ENTITY #IMPLIED >
    <!ENTITY  pict SYSTEM "fig.gif" NDATA gif >
]>

<doc>
  <get obj="pict" />
</doc>

The interface DTDHandler provides the following method to the application for processing the entity.

void unparsedEntityDecl(String name, String publicId, String systemId, String notationName)