A simple XML parser with an efficient, purely functional, event-based interface as well as a DOM interface