Another thing I just noticed, when a docx added via the basexclient is automatically unzipped, the _rels dir is silently dropped / not unzipped.
On Sun, Jan 13, 2013 at 10:33 PM, Jason Harrop jharrop@gmail.com wrote:
Hello Jens and Arve
Thank you for your suggestions.
Trying things out, I found that when I use the basexclient to CREATE DATABASE, and then ADD a docx, it is automatically unzipped.
I then tried the webdav interface. I used BitKinex to copy a docx into the same database. It didn't get unzipped that way. Is there a reason for that, and a way to change that behaviour?
thanks .. Jason
On Sun, Jan 13, 2013 at 8:51 PM, Arve Gengelbach ag@basex.org wrote:
Hi Jason,
for manually unzipping inside an xquery have a look at the [Archive Module].
If you create a database from an archive there is a flag: For creation by command/scripts have ADDARCHIVES set to true (which is default; cf. [Create Options]). And in the GUI, there is a checkbox “Parse files in archives”. These create a collection of documents from the zip.
hope this helps Arve
[Archive Module] http://docs.basex.org/wiki/Archive_Module [Create Options] http://docs.basex.org/wiki/Options#Create_Options
Am 13.01.2013 um 09:27 schrieb Jason Harrop:
Hello
eXist and MarkLogic both have mechanisms for unzipping a resource when it is loaded into the database.
In eXist, you can use a trigger and its unzip module.
For MarkLogic, you can use its Office OpenXML Extract pipeline. See http://robotbeerbash.wordpress.com/2009/08/31/getting-started-with-open-xml-...
What's the easiest way to do this sort of thing in basex?
thanks .. Jason _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
-- Arve Gengelbach, BaseX GmbH, http://basex.org |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22