title: VTD-XML: how to execute XPath query not from the root element
body: <p>I need to handle large XML files, and I decided to move from DOM parser to VTD-XML.</p>
  
  <p>When I used Java's DOM parser, I could evaluate XPath queries from any node, not from the root. Look at <a href="http://goo.gl/3Je5Q" rel="nofollow">XPath.evaluate</a> prototype:</p>
  
  <pre><code>Object evaluate(String expression,
                  Object item,
                  QName returnType)
                     throws XPathExpressionException
  </code></pre>
  
  <p><code>Object item</code> is the starting context (a node, for example). This is very useful.</p>
  
  <p>But I can't find the way to do the same in VTD-XML. I have read its API and read many examples, for instance, <a href="http://goo.gl/3Je5Q" rel="nofollow">this one</a>, but everywhere queries are executed from the root.</p>
  
  <p>How to do that?</p>