It's better to put all xml operating function into one utility python.