> Ok here is the latest.
>
> interface XPathQueryService : base::Service {
> const string serviceName = "XPathQueryService";
> const string version = "1.0";
>
> void setNamespace( in string prefix, in string uri ) raises
> (base::XMLDBException);
> void clearNamespaces() raises (base::XMLDBException);
> base::ResourceSet query( in string query ) raises
> (base::XMLDBException);
> base::ResourceSet queryResource( in string id, in string query )
> raises (base::XMLDBException);
> };
>
> setNamespace when called with an exisiting prefix replaces the existing
> prefix mapping.
> If the the URI for a prefix is null or empty then any existing mapping is
> removed.
> If the prefix is null or empty then the URI is used to set the default
> namespace.
>
> clearNamespaces removes all existing mappings.
>
> I also added the queryResource method as a proposal. I'd like some
> feedback on whether this is a good idea. The goal with it is to make it
> easy to query a single document.
I like it!
Jeremias M�rki
mailto:[EMAIL PROTECTED]
OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - 6002 Luzern
Fon +41 (0)41 317 2020 - Fax +41 (0)41 317 2029
Internet http://www.outline.ch
----------------------------------------------------------------------
Post a message: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Contact administrator: mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------