A Dynamic Labeling Scheme Using Vectors

  • Liang Xu
  • Zhifeng Bao
  • Tok Wang Ling
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4653)


The labeling problem of dynamic XML documents has received increasing research attention. When XML documents are subject to insertions and deletions of nodes, it is important to design a labeling scheme that efficiently facilitates updates as well as processing of XML queries. This paper proposes a novel encoding scheme, vector encoding which is orthogonal to existing labeling schemes and can completely avoid re-labeling. Extensive experiments show that our vector encoding outperforms existing labeling schemes on both label updates and query processing especially in the case of skewed updates. Besides, it has the nice property of being conceptually easy to understand through its graphical representation.


Query Processing Label Scheme Query Time Vector Label Containment Scheme 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    NIAGARA Experimental Data.
  2. 2.
    University of Washington XML Repository.
  3. 3.
    XMark - An XML Benchmark Project.
  4. 4.
    Abiteboul, S., Alstrup, S., Kaplan, H., Milo, T., Rauhe, T.: Compact labeling scheme for ancestor queries. SIAM J. Comput. (2006)Google Scholar
  5. 5.
    Amagasa, T., Yoshikawa, M., Uemura, S.: QRS: A Robust Numbering Scheme for XML Documents. In: ICDE (2003)Google Scholar
  6. 6.
    Bray, T., Paoli, J., Sperberg-McQueen, C.M., Maler, E., Yergeau, F.: Extensible markup language (XML) 1.0, 4th edn., W3C recommendation (2006)Google Scholar
  7. 7.
    Yergeau, F.: UTF8: A Transformation Format of ISO 10646. Request for Comments (RFC) 2279 (January 2003)Google Scholar
  8. 8.
    Li, C., Ling, T.W.: QED: a novel quaternary encoding to completely avoid re-labeling in XML updates. In: CIKM (2005)Google Scholar
  9. 9.
    Liang, X., Zhifeng, B., Wang, T.L.: A Dynamic Labeling Scheme using Vectors (Extended),
  10. 10.
    McHugh, J., Abiteboul, S., Goldman, R., Quass, D., Widom, J.: Lore: A database management system for semistructured data. In: SIGMOD Record (1997)Google Scholar
  11. 11.
    Wu, X., Lee, M.L., Hsu, W.: A Prime Number Labeling Scheme for Dynamic Ordered XML Trees. In: ICDE (2004)Google Scholar
  12. 12.
    Zhang, C., Naughton, J.F., DeWitt, D.J., Luo, Q., Lohman, G.M.: On Supporting Containment Queries in Relational Database Management Systems. In: SIGMOD (2001)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • Liang Xu
    • 1
  • Zhifeng Bao
    • 1
  • Tok Wang Ling
    • 1
  1. 1.School of Computing, National University ofSingapore

Personalised recommendations