kantan.xpath has a cats module that is, in its current incarnation, fairly bare bones: it provides a few useful type class instances.
cats module can be used by adding the following dependency to your
libraryDependencies += "com.nrinaudo" %% "kantan.xpath-cats" % "0.5.3"
You then need to import the corresponding package:
The following instance for cats type classes are provided:
Eqfor all error types (
XPathErrorand all its descendants).