How are people generating nicely-formatted XML from DOM trees? Has anyone written a function that will take a DOM tree and will insert whitespace, where necessary, to generate a pretty XML document? It would be almost the reverse of utils.strip_whitespace. Jeff