Direct Access to eXist

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Direct Access to eXist

Hank Ratzesberger

I posted a suggestion on the eXist mailing list to
their discussion about directly integrating eXist with
XSLT.

The response was that serializing the query results
was too much overhead.

I suppose the answer is "no," (and its certainly in the
code for me to discover) but I wondered if indeed there
was a way to pass the eXist query result tree directly
to Orbeon?

--Hank


Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Direct Access to eXist

Judson, Ross
Serializing to a tree is generally a lot of overhead. Doesn't Orbeon
operate with SAX sources and SAX results? What you need is a SAX
serializer for eXist, if there isn't one there already...I seem to
remember (in the distant past) making some modifications to an eXist
serializer so that it would directly drive a SAX source...

RJ

 


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Direct Access to eXist

Erik Bruchez
Administrator
I think we had a discussion on the topic of SAX recently:

   http://www.nabble.com/SAX%2C-DOM%2C-large-XML-documents-and-java.lang.OutOfMemory-Errors-td19022330.html

Currently the most powerful way to use eXist's REST interface is from  
XForms, which deals with trees. In most cases, stuff ends up in a tree  
so you can do something useful with it. There are exceptions of  
course, so it's good to stream whenever you can, and try to avoid  
creating/serializing intermediary trees.

-Erik

On Aug 28, 2008, at 2:13 PM, Judson, Ross wrote:

> Serializing to a tree is generally a lot of overhead. Doesn't Orbeon
> operate with SAX sources and SAX results? What you need is a SAX
> serializer for eXist, if there isn't one there already...I seem to
> remember (in the distant past) making some modifications to an eXist
> serializer so that it would directly drive a SAX source...
>
> RJ

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws