Skip to main content Accessibility help
×
Hostname: page-component-5c6d5d7d68-wpx84 Total loading time: 0 Render date: 2024-08-08T07:28:36.345Z Has data issue: false hasContentIssue false

10 - Tree transducers

from PART II - ADVANCED TOPICS

Published online by Cambridge University Press:  05 July 2014

Haruo Hosoya
Affiliation:
University of Tokyo
Get access

Summary

Tree transducers form a class of finite-state models that not only accept trees but also transform them. While in Chapter 7 we described a simple yet very powerful tree transformation language, μXDuce, tree transducers are more restricted and work with only a finite number of states. An important aspect of the restriction is that tree transducers can never use intermediate data structure. However, this restriction is not too unrealistic, as it is one of the design principles of the XSLT language – currently the most popular language for XML transformation. In addition, this restriction leads to several nice properties that otherwise would hardly hold; among the most important is the exact typechecking property to be detailed in Chapter 11. The present chapter introduces two standard tree transducer frameworks, namely, top-down tree transducers and macro tree transducers, and shows their basic properties.

Top-down tree transducers

Top-down tree transducers involve a form of transformation that traverses a given tree from the root to the leaves while at each node producing a fragment of the output tree determined by the label of the current node and the current state. Since a state of a tree transducer can then be seen as a rule from a label to a tree fragment, we call a state a procedure from now on.

When considering the tree transducer family, we often take a nondeterministic approach, as in the case of automata.

Type
Chapter
Information
Foundations of XML Processing
The Tree-Automata Approach
, pp. 127 - 137
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Tree transducers
  • Haruo Hosoya, University of Tokyo
  • Book: Foundations of XML Processing
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9780511762093.011
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Tree transducers
  • Haruo Hosoya, University of Tokyo
  • Book: Foundations of XML Processing
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9780511762093.011
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Tree transducers
  • Haruo Hosoya, University of Tokyo
  • Book: Foundations of XML Processing
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9780511762093.011
Available formats
×