In XPath I can use double slash to express I want to get any node within document, no necessary a child ofa root node, e.g.
//input
would stand for any <input>
tag in my XML document.
How do I express it with GPath expression?
The expression //
is replaced by '**'
in GPath.
So your query would be:
'**'.input
Link to GPath documentation here.