Performing complicated XPath queries in Scala
- by Ken Bloom
What's the simplest API to use in scala to perform the following XPath queries on a document?
//s:Annotation[@type='attitude']/s:Content/s:Parameter[@role='type' and not(text())]
//s:Annotation[s:Content/s:Parameter[@role='id' and not(text())]]/@type
The only documentation I can find on Scala's XML libraries has no information on performing…