resolve resource execution within xml query file / added schema for xml formatted queries