International Symposium on String Processing and Information Retrieval

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

Transforming XML Streams with References

  • Sebastian Maneth
  • Alberto Ordóñez
  • Helmut Seidl
Conference paper

DOI: 10.1007/978-3-319-23826-5_4

Part of the Lecture Notes in Computer Science book series (LNCS, volume 9309)
Cite this paper as:
Maneth S., Ordóñez A., Seidl H. (2015) Transforming XML Streams with References. In: Iliopoulos C., Puglisi S., Yilmaz E. (eds) String Processing and Information Retrieval. SPIRE 2015. Lecture Notes in Computer Science, vol 9309. Springer, Cham


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.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Sebastian Maneth
    • 1
  • 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