Allow offline xml file to be specified when a query is registered