Download this file
1 2 3 4 5 6 7 8 9
#!/usr/bin/env python from ooolib import * fh = open("sample.xml", "r") data = fh.read() test = ooolibXML.Parse(data) element = test.getElement() element.printXML()