• DocumentCode
    2831037
  • Title

    XML Tree Structure Compression

  • Author

    Maneth, Sebastian ; Mihaylov, Nikolay ; Sakr, Sherif

  • Author_Institution
    NICTA & Univ. of New South Wales, Sydney, NSW
  • fYear
    2008
  • fDate
    1-5 Sept. 2008
  • Firstpage
    243
  • Lastpage
    247
  • Abstract
    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 Huffman-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.
  • Keywords
    Huffman codes; XML; data compression; encoding; grammars; tree data structures; Huffman-like encoding; XML compression tools; XML document; XML tree structure compression; XMill; backend compressors; binary encodings; data compression; data content; grammar representation; grammars; Compression algorithms; Compressors; Containers; Data compression; Databases; Dictionaries; Encoding; Expert systems; Tree data structures; XML; XML; compression; queriable; tree structure;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Database and Expert Systems Application, 2008. DEXA '08. 19th International Workshop on
  • Conference_Location
    Turin
  • ISSN
    1529-4188
  • Print_ISBN
    978-0-7695-3299-8
  • Type

    conf

  • DOI
    10.1109/DEXA.2008.41
  • Filename
    4624723