Abstract
XML documents conceptually are not trees, but forests. Therefore, we extend the concept of macro tree transducers (mtt's) to a transformation formalism of forests, macro forest transducers (mft's). We show that mft's form a strict superset of mtt's operating on forests (represented as binary trees). On the other hand, the transformation of every mft can be simulated by the composition of two mtt's. Although macro forest transducers are more powerful, the complexity of inverse type inference, i.e., computing the pre-image of a recognizable language, is almost the same as for tree transducers.
Original language | English |
---|---|
Pages (from-to) | 141-149 |
Number of pages | 9 |
Journal | Information Processing Letters |
Volume | 89 |
Issue number | 3 |
DOIs | |
State | Published - 14 Feb 2004 |
Keywords
- Formal languages
- Inverse type inference
- Macro tree transducers
- XML