title: Good Free Java XPath Evaluator source - JXPath perhaps?
body: <p>Is there a good free XPath evaluator source code available?</p>
  
  <p>We have a tree style data structure which is not too dissimilar to XML.  However, it would be great to include something similar to an XPath evaluator (lightweight) to navigate through the structure.</p>
  
  <p>Would be cool to XPath expressions such as:</p>
  
  <p>\Node1*\Child20*
  \Node1<a href="http://commons.apache.org/jxpath/users-guide.html#Object_Graph_Traversal" rel="nofollow">1</a>
  sum(\Node1*\value)</p>
  
  <p>etc etc...</p>
  
  <p>I think it would take a while to implement a solution ourselves but unfortunately we have tight very timescales.  We would need to source to enable us to go through our structure based on the tokenized string.</p>
  
  <p>I am not looking for XPath libraries as such, just the code to evaluate XPath style expressions.</p>
  
  <p>I want to be able to interpret an XPath based expression and process our own internal data structure - our own object model implementation.</p>
  
  <p>I have come across <a href="http://commons.apache.org/jxpath/users-guide.html#Object_Graph_Traversal" rel="nofollow">JXPath</a> on my travels but have never used it but it seems like something that I could use.  Has anyone ever used this?</p>
  
  <p>Thanks,</p>
  
  <p>Andez</p>