port to python included elementtree module