This possibility to open zipped XMLs via doc() is awesome.
Universität Leipzig Institute of Computer Science, NLP Augustusplatz 10 04109 Leipzig Deutschland E-mail: celano@informatik.uni-leipzig.de E-mail: giuseppegacelano@gmail.com Web site 1: http://asv.informatik.uni-leipzig.de/en/staff/Giuseppe_Celano Web site 2: https://sites.google.com/site/giuseppegacelano/
On Aug 22, 2018, at 4:28 PM, Christian Grün christian.gruen@gmail.com wrote:
Because of the size, is there a way to store xml-data as archive
If you want to compress your XML documents with XQuery, you can have a look at the Archive or ZIP Module of BaseX. I am not sure, however, if this is what you are looking for?
(with possibility to search) ?
The BaseX implementation of fn:doc() and fn:collection() supports zipped files as arguments. The contents will be unzipped automatically:
collection('my-xml-files.zip')
If you create databases, you can specify ZIP files as input, too.