title: compare 2 element of WS response with xpath in soapui
body: <p>I'm using <code>SoapUI</code> for testing and I need to compare two elements of the XML response. </p>
  
  <p>For example, if I have an xml like this:</p>
  
  <pre><code>&lt;book&gt;
   &lt;priceCzech&gt;2&lt;/priceCzech&gt;
   &lt;priceIta&gt;3&lt;/priceIta&gt;
  &lt;book&gt;
  </code></pre>
  
  <p>How can I use <code>XPATH</code> assertion to check that the value of priceIta and price Czech are equal? </p>
  
  <p>I read <code>XPATH</code> explanation and I understood that typing the name of the element (that i consider a tag = priceCzech) let you perform some operation with operators</p>
  
  <p>So why if I put not equal price and check it with (or without) slashes, the assertion give me valid?</p>
  
  <pre><code>//priceCzech = //priceIta
  </code></pre>