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
ParameterDescription
elementNameDeclaring element name.
attributeNameAttribute name.
typeAttribute type.
modeDefaulting mode, or null.
valueDefault 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)