Converted XMLDecl, DOCTYPE and ProcInstr event handlers to String-based in ITemplateHandler.