The response xml contains customer name as Abhishek & Asthana
I need to extract this value and compare it against what is in the datasheet. The datasheet has the value Abhishek & Asthana in the data sheet.
I tried using the below code to unescape the string but the keyword was not recognized.
StringEscapeUtils.unescapeHtml(//response/*:firstChildNode/*:secondChildNode/*:customerName)
XPathContains assertion failed for path [StringEscapeUtils.unescapeHtml(//response/*:firstChildNode/*:secondChildNode/*:customerName)] : RuntimeException:net.sf.saxon.trans.XPathException: XPath syntax error at char 105 in {...dChildNode/*:customerName}:
Unknown system function StringEscapeUtils.unescapeHtml()