Re: [basex-talk] import in xsd

2014-02-28 Thread Christian Grün
Hi Jan, the reason for the unexpected behavior may be that the referenced schema files cannot be retrieved from the database. Instead, they will be requested from the local system. One of the reasons is that schema validation is peformed by the standard Java validators, or by Saxon, and both of th

Re: [basex-talk] Return file source of a given node?

2014-02-28 Thread Fabrice Etanchaud
You are right, People do not know how easily they could process their XML data... -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Hondros, Constantine (ELS-AMS) Envoyé : vendredi 28 février 2014 12:34

Re: [basex-talk] Return file source of a given node?

2014-02-28 Thread Hondros, Constantine (ELS-AMS)
Thanks - I should have guessed it would be so easy with Basex. Cheers, Constantine -Original Message- From: Fabrice Etanchaud [mailto:fetanch...@questel.com] Sent: 28 February 2014 11:53 To: Arve Gengelbach; Hondros, Constantine (ELS-AMS) Cc: basex-talk@mailman.uni-konstanz.de Subject: RE

Re: [basex-talk] Return file source of a given node?

2014-02-28 Thread Fabrice Etanchaud
Hi Constantine, db:path(your node) could also do it. Best regards Fabrice -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Arve Gengelbach Envoyé : vendredi 28 février 2014 11:52 À : Hondros, Constanti

Re: [basex-talk] Return file source of a given node?

2014-02-28 Thread Arve Gengelbach
Hi Constantine, the query /article[@id = '123']/base-uri() should return for each matching article the name of document in the database or name of file on disk. cheers Arve On 28 Feb 2014, at 11:35, Hondros, Constantine (ELS-AMS) wrote: > Hello all, > > So, I am using Basex to inspect a ga

[basex-talk] Return file source of a given node?

2014-02-28 Thread Hondros, Constantine (ELS-AMS)
Hello all, So, I am using Basex to inspect a gargantuan archive of XML records split over thousands of .tar files (thanks Christian for the recent fix allowing me to create a DB from tar input!). In some cases, I would like to know which file, in which tar archive, was the source for a given q

Re: [basex-talk] typo in the BaseXwiki

2014-02-28 Thread Christian Grün
...thanks, fixed. By the way: we invite you (and everyone else) to get a Wiki account and fix things like that by yourself! The only reason why accounts are needed for our Wiki is that we had some spamming issues. I am impressed how the Wikipedia team has managed to get around this problem. On Fr

[basex-talk] typo in the BaseXwiki

2014-02-28 Thread Rob Stapper
Hi, The wiki-documentation of the 'map:new'-command in the map-module ( http://docs.basex.org/wiki/Map_Module#map:new) contains a typo in the third example: map:new -> Examples -> map:new(map:entry(0, "no"), map:entry(1, "yes")) should probably be: map:new((map:entry(0, "no"), map:entry(