Given an response such as:
Block 1 - here's my value: 1000
Block 2 - here's my value: 11
Block 3 - here's my value: 2
Block 4 - here's my value: 17
I'd need a query that tells me which block the value "2" appears in. The query "(.//myValue)[. = 2]" finds the block, but doesn't return the block index.