translate routing config to xml