I think i've found a solution.
xmldb api doesn't contemplate methods for accessing informations such as creation and modification date of a resource. eXist specific api does.
So when retrieving a collection or a resource, you need to cast them to CollectionImpl or EXistResource, which are eXist specific interface for xmldb's Collection and Resouce. Then you can use method such as getCreationDate().
Am I going in the right direction?
thanks for the answer. Can you make an example of how, for instance, I can access the creation date of a resource? I've read the javadoc you've linked, but i can't find anything about resource properties, just about ownership and permission on them.
MatteoOn Thu, Mar 29, 2012 at 12:51 PM, Wolfgang Meier <firstname.lastname@example.org> wrote:
> i'm new to eXist db. I wonder: is there a way to access infos like name,This is part of the user management service:
> creation date, modification date, etc of a resource (an xml document into a
> collection) via xml:db api?