converts xpath to css