an xml manager base on python