You have to build your app against the internal database APIs rather then the XML:DB API.

Ideally we should have another implementation of the XML:DB API that is local only. It would be pretty easy to build.

On Tuesday, February 26, 2002, at 06:24 AM, W. Peschke wrote:

Hello,

you wrote, that killed the HTTP-Server Section in system.xml. But how do
you access the database afterwards? Since if I kill the section, I can
not get a connection to the DB any more.

I use the syntax from the examples:

 String colstring = "xmldb:xindice:///db/things";
 DatabaseManager.registerDatabase(db);
 col = DatabaseManager.getCollection( colstring );

With the section not deleted, the database is accessable.

Thanks in advance,
Wolfram

4.) I removed the HTTP Server section from the system.xml file as I'm
using Xindice internally and don't need the ior to show to the world.


Kimbro Staken - http://www.kstaken.org - http://www.xmldatabases.org
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
Senior Technologist (Your company name here)



Reply via email to