Hello all, In XQuery I can use doc('resource_path') to open a resource from the baseX database but is there a way to list all available resources in the database? In other words, what is the equivalent of "LIST database_name" in XQuery? Thanks for your help. Anupam
Hi Anupam, have a look at [db:list] using the database name as parameter. Kind regards from Lake Constance, Germany, Jens Erat [db:list]: http://docs.basex.org/wiki/Database_Module#db:list -- Jens Erat [phone]: tel:+49-151-56961126 [mail]: mailto:email@jenserat.de [jabber]: xmpp:jabber@jenserat.de [web]: http://www.jenserat.de PGP: 350E D9B6 9ADC 2DED F5F2 8549 CBC2 613C D745 722B Am 31.05.2012 um 15:11 schrieb Anupam Bakshi:
Hello all,
In XQuery I can use doc('resource_path') to open a resource from the baseX database but is there a way to list all available resources in the database? In other words, what is the equivalent of "LIST database_name" in XQuery?
Thanks for your help. Anupam _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
Anupam Bakshi -
Jens Erat