How to use xpath to store response data

Hi

I’m having trouble to implement xpath to store the response data.

Response Body:

some value
389259413609672301
BDD Tester

Code:

.exec(http("ABC")
  .put("")
  .body(ElFileBody("src/test/scala/mdm/scripts/ABC/Body.xml"))
    .check(xpath("/*/PartyId/").saveAs("PartyId"))
))

When trying this I'm getting type mismatch error. Is this the right way to implement xpath? I'm new to gatling and couldn't find much info on xpath online.
Thanks in advance 

Well, there are tons of XPath tutorials out there, not specific to Gatling.
Just make sure to declare any extra namespace?