generate xPath in using entire selection list