Added functions extracting information from incoming XML