I am trying to return xpath result based on a text in a element.
This is my current expression: //S:Body/ns:2hentArsrapporterResponse/return/child::*[text()='2016']
however its only returning the the one element: Element='2016
The expression should return all of the elements in the return node if the element contains text '2016'. Can someone please help me with the correct expression?
