in reply to removing tags

Use XML modules rather than regular expressions, for xml files. They are lot better and knows something in depth about XML formats. There are many modules to begin with, so, use the advice mentioned in other nodes.
--Artist