Problem: When writing a Scala application, you want to search an XML tree for the data you need using XPath expressions.
\\ methods, which are analogous to the XPath
// expressions. The
\ method returns all matching elements directly under the current node, and
\\ returns all matching elements from all nodes under the current node (all descendant nodes).
To demonstrate this difference, create this XML literal: