Finding the right config.xml content