Entry
What regexpression should I use to strip all xml-tags and tabs from a document?
Aug 13th, 2001 14:36
Christopher Arndt, Katharina Andresen,
Save yourself a lot of trouble and _don't_ use regular expressions!
use the xml module included in Python >= 2.0 instead.
In particular use the SAX interface.
Have a look at the Python cookbook at the recipe called
"Extract text from XML document"
(http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65128)
that shows, how to use the xml.sax module for this purpose.