I am doing my first work in python/xml Is is possiable to write a xmlTree in a single command? for example doc = libxml2.parseFile (filename) # add node to doc doc.write(filename) ?????????????? I have seen several examles writing one element or line at a time, but never the whole tree. Thanks Dave Farning