A template for stream parser listeners. Note that the declarations (attlistdecl, elementdecl, etc) are trivially processed; REXML doesn’t yet handle doctype entity declarations, so you have to parse them out yourself.
Missing methods from SAX2
Methods extending SAX2
WARNING These methods are certainly going to change, until DTDs are fully supported. Be aware of this. start_document end_document doctype elementdecl attlistdecl entitydecl notationdecl cdata xmldecl comment