[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

[Announce] XQilla version 1.1.0 released

Andrew Welch andrew.j.welch at gmail.com
Tue Sep 4 15:03:08 PDT 2007


  [Announce] XQilla version 1.1.0 released
On 9/4/07, David Carlisle <http://x-query.com/mailman/listinfo/talk> 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.
>
> why does it have to be an extension function? XQuey and XSLT difer
> mainly in surface syntax so if the XQuery engine can be hooked up to a
> DB rather than an in memory tree, it's surely not impossible for the
> Xpath that's embedded in XSLT to access a database in teh same way is
> it?

I was thinking about that (perhaps implementing Saxon's NodeInfo to
work on the XQuery data model) but I don't think its needed... (and I
may be talking nonsense there)

All that's needed is a high level way to select from the db - thats
it.  Whether it's through passing an XQuery to an extension function
that returns each tuple as an item in a sequence, or using a REST
interface that returns each tuple as element in a document, once you
have that then the rest of the processing can be done using standard
XSLT.

> > I was wondering though if XQuery is even needed - if there was an XSLT
> > extension function that took three arguments:
> >
> > xmldb($db-uri, $collection, $xpath)
>
> why not just
>
> collection('some-uri-representing-the-db')/the/xpath/query/you/want)

You need to specify the collection in the db, unless you can wedge it
into the uri somehow.

But either way, I reckon passing an XQuery to the XQuery engine is the
way to go.  It seems like it should be straightforward to do...


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.