|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] xquery & web server in browserVyacheslav Sedov vyacheslav.sedov at gmail.comFri Jun 19 17:03:17 PDT 2009
about "native XSLT processor" - sound cool but while it is not implemented - i have one suggestion currently we have direct access to "files" in eXist database from XSLT by doc('xmldb:exist:///db/..../rows.xml') is here something similar for directly call XQuery files from XSLT? for example doc('xmldb:rest://rest/.../getrows.xq?from=1&to=20') without extra serialize&reparse step with best wishes, Slav On Fri, Jun 19, 2009 at 1:30 PM, Andrew Welch<http://x-query.com/mailman/listinfo/talk> wrote: > 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/ > > _______________________________________________ > http://x-query.com/mailman/listinfo/talk > http://x-query.com/mailman/listinfo/talk >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






