Immediately do the xpath query on categoryId