Get all elements with a parameter value containing 'X'

To anybody struggling with the same problem, the solution can be found HERE.