Here are a couple proposed services. There has been some talk about this
off and on in the last couple months. Both of these would be optional
services.

The first is for executing XUpdate queries against a collection or
document stored in a collection.

interface XUpdateQueryService {
   /* Execute an XUpdate query against all resources in the collection
*/
   void update(in string commands) throws XMLDBException;
  
   /* Execute an XUpdate query against the specified resource */
   void updateResource(in string id, in string commands) throws
XMLDBException;
};

Along with this I'm wondering if there should be a queryResource method
added to XPathQueryService as well. That can be very useful if someone
wants to treat a single XMLResource as if it were a simple database.
Opinions?

The second is to provide basic collection management.

interface CollectionManagementService {
   /* Create a new basic collection */
   Collection createCollection( in string name ) throws XMLDBException;

   /* Remove the named collection */
   void removeCollection( in string name ) throws XMLDBException;   
};

-- 
Kimbro Staken
The dbXML Project
http://www.dbxml.org/

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact adminstrator:   mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to