[xquery-talk] [Announce] XQilla version 1.1.0 released

Andrew Welch andrew.j.welch at gmail.com
Tue Sep 4 14:40:36 PDT 2007

On 9/4/07, John Snelson <john.snelson at oracle.com> wrote:
> Andrew Welch wrote:
> > On 9/4/07, John Snelson <john.snelson at oracle.com> wrote:
> >
> > The point I was trying to make was that XQuery + XML DB should be able
> > to select nodes far faster than XSLT + REST API, so the ideal
> > combination is XSLT + XQuery extension function.
> Surely what you really want is an XSLT processor in the XML database?

That would be ideal... as long as XSLT is susceptible to all of the
optimisations that XQuery is.  (which I don't think it is)

> > xmldb($db-uri, $collection, $xpath)
> >
> > and returned a sequence then that would do the job...
> Right - that would be the other way to do it. If you want your XSLT to
> be executed by the database client, you can just make calls into the XML
> database from the XSLT. This approach would give less scope for the
> database to optimise the XSLT using it's indexes though.

...which is why I was thinking just pass an XQuery to the XML database
so that the XQuery engine can do what it does well, and then process
the entire result set with a single XSLT.

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

More information about the talk mailing list