Apologies if you get this twice. The original does not seem to have reached
the archives or the originator.
From: Michael Kay [mailto:[hidden email]]
Sent: 16 November 2005 18:53
To: '[hidden email]'
Subject: RE: [saxon] RE: Query regarding execution of multiple xqueries with
I'm sorry, I don't understand. How can you have a comma-separated list of
queries, when a query can contain a comma? And I don't understand why you're
having difficult measuring the execution time: what technique are you using?
You might find it useful to look at the source code of net.sf.saxon.Query.
This has an undocumented option -3, which causes the query to be executed
three times, displaying the timings for each execution.
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Dasgupta, Subhojit (Subhojit)** CTR **
> Sent: 16 November 2005 14:50
> To: '[hidden email]'
> Subject: [saxon] RE: Query regarding execution of multiple
> xqueries with saxon API
> In context of the above query that i posted, i would also
> like to mention
> that currently i am executing all the xqueries as a comma
> separated List in
> the dynamic context.In such a case will it be possible to print the
> execution time for each xquery executed in tandem ?.Doesnt
> work currently
> Best Regards
> > -----Original Message-----
> > From: Dasgupta, Subhojit (Subhojit)** CTR **
> > Sent: Wednesday, November 16, 2005 7:53 PM
> > To: '[hidden email]'
> > Subject: Query regarding execution of multiple xqueries
> with saxon
> > API
> > Hi
> > I am using Saxon B 8.5.1 version and i need to execute
> multiple xqueries
> > in my application. I have written a java API that compiles
> the xqueries
> > that i have and the library module in a static context and
> then execute
> > those xqueries in a dynamic context.Also it loads the xml
> file in the
> > dynamic context. For this i used the standard functions
> provided by saxon
> > (like compileQuery(), evaluateSingle() etc). The issue that
> i am facing is
> > that the above works fine when i am using a single xquery.But in my
> > application i need to execute multiple xqueries from the
> same .xq file
> > in the same context and collect some performance statistics
> for all those
> > xqueries (viz execution time for each xquery etc). Also i
> cannot afford to
> > load the XML file more than once as it as huge!!.
> > With the setup i have as mentioned here, i am unable to execute
> > multiple xqueries. Does Saxon provide an alternate way of
> achieving the
> > same and collect performance data for each and every xquery that i
> > execute?
> > I am looking forward to some help in this regard as to how multiple
> > xqueries can be created in saxon without creating a
> context for every new
> > query from the xquery file.
> > Best Regards
> > Subhojit
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> saxon-help mailing list
> [hidden email]
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
saxon-help mailing list
|Free forum by Nabble||Edit this page|