On Mon, 1 Jul 2002, Mark J. Stang wrote: > There is because the command-line tools do it > > xindice lc -c /db > > So it is possible. > > HTH,
You were right, Mark - it does work with XML-RPC too. It was a bug in my own code :-( Can't draw a red face in ascii, but I've got one... But the original question about the XML:DB API itself still stands... Graham > > Mark > > Graham Seaman wrote: > > > Hi all, > > > > This is a combined question - partly about the XML:DB API, partly about > > Xindice. > > > > First, where is the best place to ask questions about the XML:DB API? > > www.xmldb.org seems to have been a Marie Celeste since Feb 27th - > > everything there seems to have stopped on that date. Is that because > > it's been effectively replaced by the Xindice project? > > > > Second, I don't understand the intention of the XML:DB API as far as > > being able to get listings of Collections goes: IF you know the name > > of a Collection, you can get this and then list its children, parents, > > etc. But I can't see a way to programmatically find the structure > > of an unknown database - it seems you always have to start with > > Databasemanager.getCollection(), which needs a collection name as > > parameter. Is this deliberate, or a mistake, or have I missed something > > obvious? > > > > And finally, the same question applied to Xindice over XML-RPC. Although > > /db is called the 'root collection', I can't get listCollections() > > to work on it. Am I doing something wrong? Is there some way to find > > the names of the top level Collections (ie. immediately under /db) without > > knowing them in advance, when using XML-RPC? > > > > Thanks for any advice, > > Graham > > -- > Mark J Stang > System Architect > Cybershop Systems > >