You can buy this project and download/modify it how often you want.
Files of the artifact xpath-to-xml-xom version 2.1.6 from the group com.github.simy4.xpath.