python to process services.xml and proxool.xml