title: Is it possible parameterize a compiled Java XPath expression ala PreparedStatement style semantics?
body: <p>Is it possible either with the stock JAX-P xpath expression engine or another compliant engine to compile an xpath expression that would allow for parametrization?</p>
  
  <p>I'm looking to see if is if there is an API that would allow a developer to set placeholders within a compiled xpath and replace those values at run time.</p>
  
  <p>Any insight on this as to whether or not it is possible and if there are caveats, pitfalls, or just plain "don't do that" type advice would be greatly appreciated.</p>
  
  <p>(Note I corrected a "crossing of the streams" ... was having a conversation with a coworker with regard to xpath &amp; regular expressions ... just happened to get mentally tongue tied ... sorry for the confusion)</p>