title: how to pass a variable to an XPathExpression
body: <p>i want to pass the value of a variable in XPathExpression. I want to put the id value in a variable. How can I do that? Below is the code;</p>
  
  <pre><code>XPathExpression expr = xpath.compile("//Number[@id=1]/Movies/text()");
  </code></pre>
  
  <p>Above, I want to put the value of id in a variable. I tried int num =1 but doesn't works.
  Thanks.</p>