Apply 9.3.1.9 diff from hackage
hxt-xpath: generalize processFromNodeSet