Python Replace String In Xml Dtd