beat xpath into submission