arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv cs/0603028cs.PLcs.DB
收藏

关于XSLT的树变换幂

On the tree-transformation power of XSLT

Wim Janssen, Alexandr Korlyukov, Jan Van den Bussche

摘要:

XML是一种标准的基于规则的程序设计语言,用于表示XML数据的转换。该语言目前正从1.0版本过渡到2.0版本。为了理解这种转变的计算后果,我们限制了它的纯树变换能力。在这种关注下,我们观察到,1.0还不是一个计算上完全的树转换语言:每个1.0程序都可以在指数时间内实现。然而,2.0版的一个重要的新特性,它允许临时树上的节点集,产生了完整性。我们提供了一个正式的操作语义的可移植程序,并建立这种语义的汇合。

英文摘要:

XSLT is a standard rule-based programming language for expressing transformations of XML data. The language is currently in transition from version 1.0 to 2.0. In order to understand the computational consequences of this transition, we restrict XSLT to its pure tree-transformation capabilities. Under this focus, we observe that XSLT~1.0 was not yet a computationally complete tree-transformation language: every 1.0 program can be implemented in exponential time. A crucial new feature of version~2.0, however, which allows nodesets over temporary trees, yields completeness. We provide a formal operational semantics for XSLT programs, and establish confluence for this semantics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑