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

xquery & web server in browser

Andrew Welch andrew.j.welch at gmail.com
Fri Jun 19 11:30:25 PDT 2009


  xquery & web server in browser
2009/6/19 Florent Georges <http://x-query.com/mailman/listinfo/talk>:
>
> Robert Koberg wrote:
>
>> Ideally I would use XQuery to gather the requested parts of
>> various documents in the existing structure/schema. Then, allow
>> XSL to transform the XQuery builtup nodeset without having to
>> create some DOMish (even if it is the XSL processor's optimized
>> DOM) object.
>
>  But XSLT does not rely on DOM (or on anything "DOMish.")  XSLT
> does work, like XQuery, on XDM instances.  I know a very good
> XQuery engine that evaluates queries against documents in memory.
> I am not sure there is an XSLT implementation working on an XML
> database (I mean directly on the nodes in the database,) but I
> know eXist has some support for XSLT (I don't know if it accesses
> nodes directly from the database or if it works on an in-memory
> tree.)

What Rob means (if can speak for him, we've talked about this before a
few times :) is that currently if you construct an xhtml page using
xslt, which calls xquery to build the input from an xml db (such as
using doc()  to call eXist's rest interface) then this happens:

xml db -> xquery -> xml doc -> xslt -> xhtml

...an intermediary xml document is constructed.

Hopefully this step will be removed soon when xslt can talk directly
to the database, or at least operate on the result of a query without
the serialisation/parse step.

Also, I'm looking forward to standalone runnable transforms, so I can
map a url to a stylesheet and have its "main" named template run...  I
guess/hope eXist will do something like this too.


-- 
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.