added Armin's xml2cfg
added Armin's xml2cfg