[oXygen-user] Preprocessing Xquery
Tue Jan 20 02:55:56 CST 2009
I am sorry, I mean split the query in two steps: the first step is an
XQuery that generates other XQuery in which the $path parameter is
expanded (replaced with the value of the parameter) and the second step
runs the generated XQuery.
Sorin Ristache wrote:
> From your example it seemed that the util:eval() built-in extension of
> eXist was enough for the XPath evaluation that you needed. Other option
> is to split the query in two steps: the first step is an XQuery that
> evaluates the part of the XPath expression that is passed as parameter
> in your example and the second step is an XQuery applied to the result
> of the first step to do the main task of your query.
> Paul Ryan wrote:
>> Ok, that being the case it sound like my only option is to make my own
>> extension of eXist. I'll go down that path (unless I'm misunderstanding).
>> -- Paul Ryan
More information about the oXygen-user