The Community for Technology Leaders
2012 23rd International Workshop on Database and Expert Systems Applications (2008)
Sept. 1, 2008 to Sept. 5, 2008
ISSN: 1529-4188
ISBN: 978-0-7695-3299-8
pp: 243-247
In an XML document a considerable fraction consists of markup, that is, begin and end-element tags describing the document's tree structure. XML compression tools such as XMill separate the tree structure from the data content and compress each separately. The main focus in these compression tools is how to group similar data content together prior to performing standard data compression such as gzip, bzip2, or ppm. In contrast, the focus of this paper is on compressing the tree structure part of an XML document. We use a known algorithm to derive a grammar representation of the tree structure which factors out the repetition of tree patterns. We then investigate several succinct binary encodings of these grammars. Our experiments show that we can be consistently smaller than the tree structure compression carried out by XMill, using the same backend compressors as XMill on our encodings. However, the most surprising result is that our own Huffman-like encoding of the grammars (without any backend compressor whatsoever) consistently outperforms XMill with gzip backend. This is of particular interest because our Huffmann-like encoding can be queried without prior decompression. To the best of our knowledge this offers the smallest queriable XML tree structure representation currently available.
XML, tree structure, compression, queriable
Sebastian Maneth, Sherif Sakr, Nikolay Mihaylov, "XML Tree Structure Compression", 2012 23rd International Workshop on Database and Expert Systems Applications, vol. 00, no. , pp. 243-247, 2008, doi:10.1109/DEXA.2008.41
107 ms
(Ver 3.3 (11022016))