Hi Kamal, I think cts:collections might help you out..
http://developer.marklogic.com/pubs/4.1/apidocs/Lexicons.html#cts:collections Kind regards, Geert > Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > kamal ganesh > Sent: donderdag 28 januari 2010 12:05 > To: [email protected] > Subject: [MarkLogic Dev General] Retrieve Collection name from DB. > > Hi All, > > > I am beginner of MarkLogic. I am working with collections now. > > I am wondering is there any API to list all Collection in the > database? > Like "fn:Doc()" to list all documents in DB, Is there any > possible way to retrieve all collection name within a specified DB? > > Thanks in Advance. > > Regards, > Kamalaganesh.C > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
