Karate - Parsing XML with namespace
问题 I need to parse and print ns4:feature part. Karate prints it in json format. I tried referring to this answer. But, i get 'ERROR: 'Namespace for prefix 'xsi' has not been declared.' error, if used suggested xPath. i.e., * def list = $Test1/Envelope/Body/getPlan/planSummary/feature[1] This is my XML: It contains lot many parts with different 'ns' values, but i have given here an extraxt. <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Header/> <S:Body> <ns9:getPlan xmlns