if xpath matches multiple elements, join contents