Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Concatenate title elements

Tristan Hager — May 04, 2017 11:04AM CEST


is it somehow possible to concatenate multiple elements to one feed title similar to what is possible for feed bodies?
I tried //*[@id="c70"]/div/h1 | //*[@id="c70"]/div/h2 and //*[@id="c70"]/div/*[self::h1 or self::h2] but unfortunately neither worked.

Thanks a lot!

2 Community Answers

Keyvan Minoukadeh - May 22, 2017 at 03:48PM CEST Agent

Hi Tristan, sorry for the late reply. You should be able to achieve this using XPath's concat function:

title: concat(//..., //..., //...)


Let us know if you have any trouble with it.

rated : 1 Up Down

Tristan Hager - May 22, 2017 at 04:05PM CEST

Hi Keyvan,

works perfectly.

Thank you!

rated : 0 Up Down

Post Your Public Answer