title: how I put condition for two attribute in Xpath?
body: <p>how I can get <code>PointLocation</code> by <code>Xpath</code> PointBrush which content exactly x and y.
  Not: I write <code>Xpath</code> inside My <code>java</code>.</p>
  
  <p>My Xpath:</p>
  
  <pre><code>  NodeList brushNode="PointBrush/PointLocation[x['" + entity.getPointLocation().getX() + "'] | /y['" + entity.getPointLocation().getY() + "']]"
  </code></pre>
  
  <p>my XMl:</p>
  
  <pre><code>       &lt;PointBrush&gt;
           &lt;PointLocation&gt;
              &lt;x&gt;36.473796987533674&lt;/x&gt;
              &lt;y&gt;35.49325534870742&lt;/y&gt;
           &lt;/PointLocation&gt;
        &lt;/PointBrush&gt;
        &lt;PointBrush&gt;
  
     &lt;PointBrush&gt;
           &lt;PointLocation&gt;
              &lt;x&gt;36.4723496987533674&lt;/x&gt;
              &lt;y&gt;35.1234534870742&lt;/y&gt;
           &lt;/PointLocation&gt;
        &lt;/PointBrush&gt;
        &lt;PointBrush&gt;
  </code></pre>