[Tutor] XML to text

Kent Johnson kent37 at tds.net
Fri Oct 24 19:59:28 CEST 2008


On Fri, Oct 24, 2008 at 11:54 AM, Dinesh B Vadhia
<dineshbvadhia at hotmail.com> wrote:
> I have a large number of xml files that I want to convert into text format.
> What is the best and easiest way to do this?  Thanks!

If by "convert into text format" you mean, strip all the xml markup
and leave just the text, then either of these recipes should work:
http://code.activestate.com/recipes/65128/
http://code.activestate.com/recipes/498286/

Kent


More information about the Tutor mailing list