Hi Ramon,
a pre-compiled XPath expression is a way to convert the query from a
string into an object that is able to run the query, and it is useful
when the same query is applied several times against different target nodes.
In Xerces you can create one by using DOMDocument::createExpression, and
you can execute it by invoking evaluate() on the returned object.
In any case, if you are experiencing performance problems, you should be
aware that the XPath engine in Xerces is a very simple one that doesn't
perform any optimization.
Alberto
Il 11/09/2012 23:49, Ramon F Herrera ha scritto:
I have an educated guess about the nature of a pre-compiled XPath
expression, but would like to know more details.
I am facing a serious performance problem.
TIA,
-Ramon