I didn't want to do this but wasted too much time trying to find how to build a match for both with xpath. I'd appreciate suggestions to make it better.