Make the ProjectXMLParser to receive the configs on the constructor, so it can merge them before parsing the XML and call the substitute function.