Hi Pascal,
you might also use the (undocumented) database command "info index path" to get a plain text representation of the path index. It's a good idea to offer additional basex functions for database meta data; I've put this on our list.
Best, Christian
On Thu, Oct 28, 2010 at 8:06 PM, Andreas Weiler andreas.weiler@uni-konstanz.de wrote:
Hi Pascal,
i dont know about xquery but in Java you can do the following...
Context ctx = new Context(); try { new Open("Database").execute(ctx); System.out.println(Token.string(ctx.data.info(IndexType.PATH))); } catch(Exception e) { e.printStackTrace(); }
Kind regards, Andreas
Am 28.10.2010 19:38, schrieb Pascal Heus:
Hi: the BaseX UI provide a Path Summary tab in the database file properties from where I can export the underlying XML. Can this XML be retrieved directly in a xquery statement (I assume as a basex: function)? Otherwise from Java? thanks *P
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk