chickadee » expat » expat:set-external-entity-ref-handler!

expat:set-external-entity-ref-handler! PARSER PROCEDUREprocedure

Sets the handler for references to external entities. PROCEDURE will be called with five arguments: parser, context, URI base, system- and public ID. The first argument is an expat:parser record, and the rest are strings. To parse the external entity, create a parser with expat:make-external-entity-parser.