parser that requires setting handlers to deal with the structure that the parser discovers in the document.