- ......
- Basic XPath Searching with \ and \\
- Problem
- You want to search an XML tree for the data you need using XPath expressions.
- Solution
- Use the \ and \\ methods, which are analogous to the XPath / and // 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).