Searching for a text: Bescheinigungen
my XPath should also return elements which include a soft-hyphen like: Beschei\u00ADnigungen
.
I tried this:
//*[text()[replace(., "\u00AD", "")="Bescheinigungen"]]
Doesn't work. Need some help, please.
Searching for a text: Bescheinigungen
my XPath should also return elements which include a soft-hyphen like: Beschei\u00ADnigungen
.
I tried this:
//*[text()[replace(., "\u00AD", "")="Bescheinigungen"]]
Doesn't work. Need some help, please.
Okay, had to use some 'helper' code to make it work: