This module defines a class XMLParser which serves as the basis for parsing text files formatted in XML (eXtended Markup Language). The code is derived from sgmllib and has a similar flavor. See the accompanying documentation (which can be added to the main Python documentation). Written by Sjoerd Mullender , CWI, Amsterdam, The Netherlands.