title: Using Xpath to store value in Gatling
body: <p>I'm trying to store the value of a uuid "EnquiryId" from an XML response. I believe the standard approach is to use xpath but I'm not using it correctly and receiving "java.util.NoSuchElementException: key not found: enquiryId"</p>
  
  <p>Response Example:</p>
  
  <pre><code>&lt;created_enquiry xmlns="http://www.test.com/energy-rest-enquiry.xsd"&gt;
      &lt;enquiry_id id="1705230d-a64d-f075-e477-b11c3dabfa9c" link="value"/&gt;
  &lt;/created_enquiry&gt;
  </code></pre>
  
  <p>Code example:</p>
  
  <pre><code>http("REST  Users Post Submit Enquiry")
    .post("/rest/enquiry/enquiry")
    .headers(headersREST)
    .body(ELFileBody("RestSubmitEnquiry.xml"))
    .check(status.is(201))
    .check(xpath("/*/enquiry_id/@id").saveAs("enquiryId"))
  </code></pre>
  
  <p>Thanks </p>