klyn.io.xml.sax.DefaultHandler2.attributeDecl
method
public attributeDecl(elementName as String, attributeName as String, type as String, mode as String, value as String) as Void throws SAXException:
Description

Receives an attribute declaration from the DTD.

Parameters
  • elementName Declaring element name.
  • attributeName Attribute name.
  • type Attribute type.
  • mode Defaulting mode, or `null`.
  • value Default value, or `null`.
Throws
  • SAXException if the SAX handler rejects the event or cannot process the reported XML structure.
Example
handler.attributeDecl("book", "id", "ID", "#IMPLIED", null)