Export gzipped XML files

Tuesday, 8 October 2013 · 3 messages
MC
Mike Cobo8 Oct 2013 01:47 #
Hi, I created a database from gzipped XML files, then deleted some elements (using "delete node"). Now I want to export the files again as gzipped XML files. But when I use the "Database > Export..." function of the BaseX GUI the files are exported unzipped. Question: is it possible to export the files as gzipped XML files? Thx - Mike
CG
Christian Grün8 Oct 2013 16:39 #
Hi Mike, thanks for your mail. You are talking about an interesting issue: some time ago, we already thought about recreating archives that had been unpacked in the import step. This would e.g. also be helpful when processing Office documents. Currently, you’ll have to resort to XQuery to create archives from database files. The Archive Module [1] gives you some examples. Hope this helps, Christian [1] http://docs.basex.org/wiki/Archive_Module
Quoted text · Mike Cobo · 18 lines
> I created a database from gzipped XML files, then deleted some elements > (using "delete node"). Now I want to export the files again as gzipped XML > files. But when I use the "Database > Export..." function of the BaseX GUI > the files are exported unzipped. > Question: is it possible to export the files as gzipped XML files? > > Thx > - Mike > > > > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
CG
Christian Grün8 Oct 2013 21:24 #
Hi Mike,
Quoted text · Christian Grün · 2 lines
> PS: how can I post this text to your answer so that it appears in the > posting thread?
Just reply to the mailing list.
Quoted text · Christian Grün · 3 lines
> Thank you for answering my mail. In an other case I did in fact use the > archive module to zip XML files into an Excel file (xlsx) and it did the job > really good :-)
Nice!
Quoted text · Christian Grün · 2 lines
> But in this case I wanted the user to be able to export the files via the > BaseX GUI...
Let’s see if someone takes care of this.. Christian

⚡Generated with XQuery