List of all resources in XQuery?
Thursday, 31 May 2012 · 3 messages
JE
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 at jenserat.de
[jabber]: xmpp:jabber at jenserat.de
[web]: http://www.jenserat.de
PGP: 350E D9B6 9ADC 2DED F5F2 8549 CBC2 613C D745 722B
Quoted text · Anupam Bakshi · 12 lines
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 at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
AB
Anupam Bakshi31 May 2012 17:11 #
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
AB
Thanks Jens. That's what I was looking for.
Thanks,
Anupam
Written for BaseX 7.2. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery