4.5.16 attlist-decl-handler

Handler Keyword: #:attlist-decl-handler

Sets a handler for ‘attlist’ declarations in the DTD. This handler is called for each attribute, which means, in particular, that a single attlist declaration with multiple attributes causes multiple calls to this handler.

The handler prototype is:

Handler prototype: attlist-decl el-name att-name att-type detail

Argument:

el-name

Name of the element for which the attribute is being declared.

att-name

Attribute name.

detail

Default value, if el-name is a ‘#FIXED’ attribute, #t, if it is a ‘#REQUIRED’ attribute, and #f, if it is a ‘#IMPLIED’ attribute.