Trying to evaluate XPath off given Element
I am somewhat (very) confused.
I compile an XPathExpression using XPath.compile - my expression, in this case, is "//a"
I then apply this expression to an element as:
However, what I end up getting is the first a node in the _document_, not the one that is a child of element. Am I missing something simple?