code: private ChooseConfig searchXmlConfig(ChooseConfig cc, XML xml){
  		
  		if(isNull(xml.getXmlPath())) return null;
  		
      	if((isNull(cc)||cc == ChooseConfig.DESTINATION) && xml.isInheritedMapped(destination))	
      		return ChooseConfig.DESTINATION;
  	
  		if((isNull(cc)||cc == ChooseConfig.SOURCE) && xml.isInheritedMapped(source))
  			return  ChooseConfig.SOURCE;
  		
  		return null;
      }
docs: This method finds the xml configuration, returns null if there are no.
  @param cc Configuration to check
  @param xml xml object
  return ChooseConfig configuration found