4.5.13 xml-decl-handler

Handler Keyword: #:xml-decl-handler

Sets a handler that is called for XML declarations and also for text declarations discovered in external entities.

Handler prototype: xml-decl version encoding . detail

Arguments:

version

Version specification (string), or #f, for text declarations.

encoding

Encoding. May be #f.

detail

Unspecified’, if there was no standalone parameter in the declaration. Otherwise, #t or #f depending on whether it was given as ‘yes’ or ‘no’.