naturallythere is much more to python' xml support than these simple examples imply in deference to spacethoughhere are pointers to xml resources in lieu of additional examplesstandard library firstbe sure to consult the python library manual for more on the standard library' xml support tools see the entries for rexml sax xml domand xml etree for more on this section' examples pyxml sig tools you can also find python xml tools and documentation at the xml special interest group (sigweb page at wedding xml technologies with pythonand it publishes free xml tools independent of python itself much of the standard library' xml support originated with this group' work third-party tools you can also find freethird-party python support tools for xml on the web by following links at the xml sigs web page of special interestthe suite open source package provides integrated tools for xml processingincluding open technologies such as domsaxrdfxsltxincludexpointerxlinkand xpath documentation variety of books have been published which specifically address xml and text processing in python 'reilly offers book dedicated to the subject of xml processing in pythonpython xmlwritten by christopher jones and fred drakejr as usualbe sure to also see your favorite web search engine for more recent developments on this front html parsing in action although more limited in scopepython' html parser standard library module also supports html-specific parsinguseful in "screen scrapingroles to extract information from web pages among other thingsthis parser can be used to process web replies fetched with the urllib request module we met in the internet part of this bookto extract plain text from html email messagesand more the html parser module has an api reminiscent of the xml sax model of the prior sectionit provides parser which we subclass to intercept tags and their data during parse unlike saxwe don' provide handler classbut extend the parser class directly here' quick interactive example to demonstrate the basics ( copied all of this section' code into file htmlparser py in the examples package if you wish to experiment with it yourself)xml and html parsing