Laguna wrote: > Hi, > > I have an XML file in a single long string. How can I convert it into > the nicely indented format as displayed by Internet Explorer using > Python? You want to pretty print. Have a look at http://www.boddie.org.uk/python/XML_intro.html for example. Thank you to Paul, I've found that page useful, Jim