Is it possible to use javax.xml.xpath.XPathExpressions with scala.xml.NodeSeqs?
I'd like an API that allows me to express something like:
val xml = ...
val xpath = XPathFactory.newInstance.newXPath.compile(
"""/this/that/theOther[@abc="123"]""")
val selectedNodes: NodeSeq = xml.applyXpath(xpath)