4.5.17 entity-decl-handler

Handler Keyword: #:entity-decl-handler

Sets a handler that will be called for all entity declarations.

Handler prototype: entity-decl name param? value base sys-id pub-id   notation

Arguments:

name

Entity name.

param?

For parameter entities, #t. Otherwise, #f.

value

For internal entities, entity value. Otherwise, #f.

base

Base.

sys-id

System ID. For internal entities – #f.

pub-id

Public ID. For internal entities – #f.

notation

Notation name, for unparsed entity declarations. Otherwise, #f. Unparsed are entity declarations that have a notation (‘NDATA’) field, such as:

 
<!ENTITY logo SYSTEM "images/logo.gif" NDATA gif>