commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Keese <>
Subject Re: Jelly: Accessing an xml database with jelly
Date Tue, 25 Nov 2003 00:50:54 GMT

> Is there something already done to access an XML Database like exist
> or xindice with jelly.

I guess the interface you are talking about is ?

I've wrote tags in Jelly to talk to Tamino (a commercial XML database).
Tamino doesn't support XMLDB API, as far as I know, but it has it's own
API supported in Java, HTTP, and SOAP (among others). The interfaces are
more complicated than the XMLDB API listed above, because they support
features such as setting isolation levels, fetching via cursors, etc.

The jelly api ended up being something like this:

	<connect user="foo" password="foo"/>
	<xquery> for $e in document()/Employee where $e/name=${myVariable} return $e </xquery>

(when you execute this code, the output will be the employee with the
name stored in ${myVariable})

Of course for any XML database, just like with SQL databases, the main
part is not the API, but rather the query/update language (XQuery),
which is just a "String" as far as the API is concerned.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message