I'm trying to write a server that uses XPath API. I based my code around the sample 'SimpleXPathAPI'. I have many questions.
My server receives messages with documents, and returns the results of a few XPath expressions on these documents. the expressions can be updated while running. There are some external functions, and some varirables that i added to XPathExecutionContextDefault (following dave's advice http://www.nabble.com/creating-variables-for-XPath-td21823462.html) 1. Can I use an XPath after its XPathConstructionContext is deleted? if not, can i use one global XPathConstructionContext to construct all my XPath objects? 2. What is the difference between XPathProcessor::initXPath and XPathProcessor::initMatchPattern ? 3. Why does XPathEvaluator::evaluate calls reset() for its executionContext and XObjectFactory, and why does it sets the executionContext's EnvSupport, DOMSupport and XObjectFactory? What happens if I set it only once? (assuming there is one evaluator for each input document) 4. Can I have one global XPathProcessorImpl? I think that's it for today. Thanks, Moddy. -- View this message in context: http://www.nabble.com/Questions-about-XPATH-API-tp22303292p22303292.html Sent from the Xalan - C - Users mailing list archive at Nabble.com.