function to append xpaths to sections for gps and multi-selects