Hi Jason, there are two possibilities: - Have a look at our [archive module]. You can use it to decompress the archive after loading it into BaseX. Currently, there is no hook for decompressing files automatically. - Use [ADDARCHIVES] option to unzip while inserting a document, this should be quit similar to what you can achieve using eXist / MarkLogic. Regards from Lake Constance, Germany, Jens Erat [archive module]: http://docs.basex.org/wiki/Archive_Module [ADDARCHIVE]: http://docs.basex.org/wiki/Options#ADDARCHIVES -- Jens Erat [phone]: tel:+49-151-56961126 [mail]: mailto:email@jenserat.de [jabber]: xmpp:jabber@jenserat.de [web]: http://www.jenserat.de PGP: 350E D9B6 9ADC 2DED F5F2 8549 CBC2 613C D745 722B Am 13.01.2013 um 09:27 schrieb Jason Harrop <jharrop@gmail.com>:
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