{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:27:17Z","timestamp":1787340437568,"version":"build-2736575974"},"reference-count":27,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"5","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2010,1]]},"abstract":"<jats:p>We consider online algorithms to label the nodes of an XML tree which is subject to insertions and deletions of nodes. The labeling is done such that (1) each node is assigned a label immediately when it is inserted and this label remains unchanged, and (2) from a pair of labels alone, one can decide whether one node is an ancestor of the other. This problem arises in the context of XML databases that support queries on the structure of the documents as well as on the changes made to the documents over time. We consider here the length of the assigned labels. We prove lower bounds on the length of labels which satisfy these requirements and provide labeling algorithms that match these bounds (up to a constant factor). We also consider the same problem when \u201cclues\u201d that provide guarantees on possible future insertions are given together with newly inserted nodes. Such clues can be derived from the DTD\/XML Schema or from statistics on similar XML trees. We present algorithms that use the clues to assign shorter labels. We also prove that the length of our labels is close to the minimum possible.<\/jats:p>","DOI":"10.1137\/070687633","type":"journal-article","created":{"date-parts":[[2010,2,24]],"date-time":"2010-02-24T18:06:15Z","timestamp":1267034775000},"page":"2048-2074","source":"Crossref","is-referenced-by-count":20,"title":["Labeling Dynamic XML Trees"],"prefix":"10.1137","volume":"39","author":[{"given":"Edith","family":"Cohen","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Haim","family":"Kaplan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tova","family":"Milo","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2010,2,24]]},"reference":[{"key":"R1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539703437211"},{"key":"R2","unstructured":"S. Abiteboul, P. Buneman, and D. Suciu,\n                      Data on the Web: From Relations to Semistructured Data and XML\n                      , Morgan Kaufmann, San Francisco, 1999."},{"key":"R3","unstructured":"S. Abiteboul, H. Kaplan, and T. Milo,\n                      Compact labeling schemes for ancestor queries\n                      , in Proceedings of the Twelfth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2001, pp. 547\u2013556."},{"key":"R4","unstructured":"S. Alstrup and T. Rauhe,\n                      Improved labeling scheme for ancestor queries\n                      , in Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2002, pp. 947\u2013953."},{"key":"R5","doi-asserted-by":"crossref","unstructured":"S. Alstrup and T. Rauhe,\n                      Small induced-universal graphs and compact implicit graph representations\n                      , in Proceedings of the 43rd Symposium on Foundations of Computer Science (FOCS), IEEE Computer Society, Washington, DC, 2002, pp. 53\u201362.","DOI":"10.1109\/SFCS.2002.1181882"},{"key":"R6","doi-asserted-by":"publisher","DOI":"10.1007\/s11280-005-1544-y"},{"key":"R7","unstructured":"D. Chamberlin, J. Clark, D. Florescu, J. Robie, J. Sim\u00e9on, and M. Stefanescu,\n                      XQuery $1.0$\n                      :\n                      An XML Query Language\n                      , W3C working draft, http:\/\/www.w3.org\/TR\/xquery (2001)."},{"key":"R8","doi-asserted-by":"crossref","unstructured":"E. Cohen, H. Kaplan, and T. Milo,\n                      Labeling dynamic XML trees\n                      , in Proceedings of the Symposium on Principles of Database Systems (PODS), 2002, pp. 271\u2013281.","DOI":"10.1145\/543613.543648"},{"key":"R9","doi-asserted-by":"crossref","unstructured":"H. Kaplan and T. Milo,\n                      Short and simple labels for small distances and other functions\n                      , in Proceedings of the 7th International Workshop on Algorithms and Data Structures (WADS), Lecture Notes in Comput. Sci., 2125, Springer, Berlin, 2001, pp. 246\u2013257.","DOI":"10.1007\/3-540-44634-6_23"},{"key":"R10","unstructured":"H. Kaplan, T. Milo, and R. Shabo,\n                      A comparison of labeling schemes for ancestor queries\n                      , in Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2002, pp. 954\u2013963."},{"key":"R11","doi-asserted-by":"crossref","unstructured":"C. Li and T. W. Ling,\n                      QED: A novel quaternary encoding to completely avoid re-labeling in XML updates\n                      , in Proceedings of the Conference on Information and Knowledge Management (CIKM), 2005, pp. 501\u2013508.","DOI":"10.1145\/1099554.1099692"},{"key":"R12","unstructured":"C. Li, T. W. Ling, and M. Hu,\n                      Efficient processing of updates in dynamic XML data\n                      , in Proceedings of the International Conference on Data Engineering (ICDE), 2006."},{"key":"R13","unstructured":"A. Marian, S. Abiteboul, G. Cobena, and L. Mignet,\n                      Change-centric management of versions in an XML warehouse\n                      , in Proceedings of the International Conference on Very Large Data Bases (VLDB), 2001, pp. 581\u2013590."},{"key":"R14","doi-asserted-by":"crossref","unstructured":"P. O'Neil, E. O'Neil, S. Pal, I. Cseri, G. Schaller, and N. Westbury,\n                      Ordpaths: Insert-friendly XML node-labels\n                      , in Proceedings of the ACM SIGMOD International Conference on Management of Data, 2004, pp. 903\u2013908.","DOI":"10.1145\/1007568.1007686"},{"key":"R15","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/28.1.5"},{"key":"R16","doi-asserted-by":"crossref","unstructured":"A. Silberstein, H. He, K. Yi, and J. Yang,\n                      Boxes: Efficient maintenance of order-based labeling for dynamic XML data\n                      , in Proceedings of the International Conference on Data Engineering (ICDE), 2005, pp. 285\u2013296.","DOI":"10.1109\/ICDE.2005.29"},{"key":"R17","doi-asserted-by":"crossref","unstructured":"I. Tatarinov, S. D. Viglas, K. Beyer, J. Shanmugasundaram, E. Shekita, and C. Zhang,\n                      Storing and querying ordered XML using a relational database system\n                      , in Proceedings of the ACM SIGMOD International Conference on Management of Data, 2002, pp. 204\u2013215.","DOI":"10.1145\/564691.564715"},{"key":"R18","unstructured":"W3c,\n                      Extensible Markup Language (XML) $1.0$\n                      , http:\/\/www.w3.org\/TR\/REC-xml."},{"key":"R19","unstructured":"W3c,\n                      Extensible Stylesheet Language (XSL)\n                      , http:\/\/www.w3.org\/Style\/XSL\/."},{"key":"R20","unstructured":"W3c,\n                      Xsl Transformations (XSLT) Specification\n                      , http:\/\/www.w3.org\/TR\/WD-xslt."},{"key":"R21","doi-asserted-by":"crossref","unstructured":"H. Wang, S. Park, W. Fan, and P. S. Yu,\n                      ViST: A dynamic index method for querying XML data by tree structures\n                      , in Proceedings of the ACM SIGMOD International Conference on Management of Data, 2003, pp. 110\u2013121.","DOI":"10.1145\/872757.872774"},{"key":"R22","unstructured":"X. Wu, M. L. Lee, and W. Hsu,\n                      A prime number labeling scheme for dynamic ordered XML trees\n                      , in Proceedings of the International Conference on Data Engineering (ICDE), 2004."},{"key":"R23","unstructured":"XDEX, http:\/\/www.xmlindex.com."},{"key":"R24","doi-asserted-by":"crossref","unstructured":"L. Xu, T. W. Ling, H. Wu, and Z. Bao,\n                      DDE: From Dewey to a fully dynamic XML labeling scheme\n                      , in Proceedings of the ACM SIGMOD International Conference on Management of Data, 2009, pp. 719\u2013730.","DOI":"10.1145\/1559845.1559921"},{"key":"R25","unstructured":"Xyleme,\n                      A Dynamic Data Warehouse for the XML Data of the Web\n                      , http:\/\/www.xyleme.com."},{"key":"R26","doi-asserted-by":"crossref","unstructured":"A. C. Yao,\n                      Probabilistic computations: Towards a unified measure of complexity\n                      , in Proceedings of the 18th Annual Symposium on Foundations of Computer Science, 1977, pp. 222\u2013227.","DOI":"10.1109\/SFCS.1977.24"},{"key":"R27","doi-asserted-by":"crossref","unstructured":"U. Zwick and M. Thorup,\n                      Compact routing schemes\n                      , in Proceedings of the Thirteenth Annual ACM Symposium on Parallel Algorithms and Architectures (SPAA), 2001, pp. 1\u201310.","DOI":"10.1145\/378580.378581"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/070687633","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:35:02Z","timestamp":1787337302000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/070687633"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,1]]},"references-count":27,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2010,1]]}},"alternative-id":["10.1137\/070687633"],"URL":"https:\/\/doi.org\/10.1137\/070687633","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2010,1]]}}}