Adding search to map(xml)