International Symposium on String Processing and Information Retrieval

SPIRE 2015: String Processing and Information Retrieval pp 33-45 | Cite as

Transforming XML Streams with References

  • Sebastian ManethEmail author
  • Alberto Ordóñez
  • Helmut Seidl
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9309)


Many useful xml transformations can be formulated through deterministic top-down tree transducers. If transducers process parts of the input repeatedly or in non-document order, then they cannot be realized over the xml stream with constant or even depth-bounded memory. We show that by enriching streams by forward references both in the input and in the output, every such transformation can be compiled into a stream processor with a space consumption depending only on the transducer and the depth of the xml document. References allow to produce DAG-compressed output that is guaranteed to be linear in the size of the input (up to the space required for labels). Our model is designed so that without decompression, the output may again serve as the input of a subsequent transducer.


Input Stream Input Tree Output Stream Tree Transducer Attribute Grammar 
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.
    Buneman, P., Grohe, M., Koch, C.: Path queries on compressed XML. In: VLDB, pp. 141–152 (2003)Google Scholar
  2. 2.
    Filiot, E., Gauwin, O., Reynier, P.-A., Servais, F.: Streamability of nested word transductions. In: FSTTCS, pp. 312–324 (2011)Google Scholar
  3. 3.
    Hakuta, S., Maneth, S., Nakano, K., Iwasaki, H.: XQuery streaming by forest transducers. In: ICDE, pp. 952–963 (2014)Google Scholar
  4. 4.
    Koch, C., Scherzinger, S.: Attribute grammars for scalable query processing on XML streams. VLDB J. 16(3), 317–342 (2007)CrossRefGoogle Scholar
  5. 5.
    Koch, C., Scherzinger, S., Schmidt, M.: The GCX system: Dynamic buffer minimization in streaming XQuery evaluation. In: VLDB, pp. 1378–1381 (2007)Google Scholar
  6. 6.
    Lemay, A., Maneth, S., Niehren, J.: A learning algorithm for top-down XML transformations. In: PODS, pp. 285–296 (2010)Google Scholar
  7. 7.
    Maneth, S., Neven, F.: Structured Document Transformations Based on XSL. In: Connor, R.C.H., Mendelzon, A.O. (eds.) DBPL 1999. LNCS, vol. 1949, pp. 80–98. Springer, Heidelberg (2000) CrossRefGoogle Scholar
  8. 8.
    Martens, W., Neven, F.: On the complexity of typechecking top-down XML transformations. Theor. Comput. Sci. 336(1), 153–180 (2005)MathSciNetCrossRefzbMATHGoogle Scholar
  9. 9.
    Martens, W., Neven, F., Gyssens, M.: Typechecking top-down XML transformations: Fixed input or output schemas. Inf. Comput. 206(7), 806–827 (2008)MathSciNetCrossRefzbMATHGoogle Scholar
  10. 10.
    Perst, T., Seidl, H.: Macro forest transducers. Inf. Process. Lett. 89(3), 141–149 (2004)MathSciNetCrossRefzbMATHGoogle Scholar
  11. 11.
    Segoufin, L., Vianu, V.: Validating streaming XML documents. In: PODS, pp. 53–64 (2002)Google Scholar
  12. 12.
    von Bochmann, G.: Semantic evaluation from left to right. CACM 19(2), 55–62 (1976)MathSciNetCrossRefzbMATHGoogle Scholar
  13. 13.
    Wei, M., Rundensteiner, E.A., Mani, M., Li, M.: Processing recursive XQuery over XML streams: The Raindrop approach. Data Knowl. Eng. 65(2), 243–265 (2008)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Sebastian Maneth
    • 1
    Email author
  • Alberto Ordóñez
    • 2
  • Helmut Seidl
    • 3
  1. 1.University of EdinburghEdinburghUK
  2. 2.Universidade da CoruñaCoruñaSpain
  3. 3.TU MünchenMünchenGermany

Personalised recommendations