klyn.io.xml.sax.DefaultHandler2.elementDecl
method
public elementDecl(name as String, model as String) as Void throws SAXException:
Description

Receives an element declaration from the DTD.

Parameters
  • name Element name.
  • model Content model.
Throws
  • SAXException if the SAX handler rejects the event or cannot process the reported XML structure.
Example
handler.elementDecl("book", "(title)")