[MonetDB-users] Sending an XML document via JDBC
Hi again, is there some way to send a XML document to the server through the JDBC connection? That is (because of the <enter> problem on OS X) I need to have my MonetDB/XQuery server running on a remote machine and I want to load an XML document locally and store it on the machine via JDBC. The 'pf:add-doc()' functions do not really help be since the only connection over to the remote machine is the MonetDB connection. Setting up a facility for MonetDB to 'call back to' to fetch the XML document via http would be overkill. Also, the XML-DB API does no longer exist, does it? Cheers, Richard
Hi Richard, On 14-03-2008 17:22:45 -0300, Richard Eckart wrote:
Hi again,
is there some way to send a XML document to the server through the JDBC connection? That is (because of the <enter> problem on OS X) I need to have my MonetDB/XQuery server running on a remote machine and I want to load an XML document locally and store it on the machine via JDBC. The 'pf:add-doc()' functions do not really help be since the only connection over to the remote machine is the MonetDB connection.
I once had some example code that did this. It was a bit hacky, but it worked. You can find it here: http://monetdb.cvs.sourceforge.net/monetdb/java/example/XQueryLoad.java?revision=1.2&view=markup
Setting up a facility for MonetDB to 'call back to' to fetch the XML document via http would be overkill.
Also, the XML-DB API does no longer exist, does it?
XML-DB is quite dead IMO. eXist made some extensions, but they hide the code. Whatever we have in our codebase is minimal, and at least lacking any document adding features.
participants (2)
-
Fabian Groffen
-
Richard Eckart