Try .//apple. This lists all the apple nodes that are descendants of the current node. For a better understanding of this topic, you should learn how XPath axes work. You could also write descendant::apple, for example.
Try .//apple. This lists all the apple nodes that are descendants of the current node. For a better understanding of this topic, you should learn how XPath axes work. You could also write descendant::apple, for example.