Results 1 -
2 of
2
Statically typed document transformation: An Xtatic experience
- BRICS, Department of Computer Science, University of Aarhus
, 2006
"... XTATIC is a lightweight extension of C ♯ with native support for statically typed XML processing. It features XML trees as built-in values, a refined type system based on regular types à la XDUCE, and regular patterns for investigating and manipulating XML. We describe our experiences using XTATIC i ..."
Abstract
-
Cited by 6 (0 self)
- Add to MetaCart
XTATIC is a lightweight extension of C ♯ with native support for statically typed XML processing. It features XML trees as built-in values, a refined type system based on regular types à la XDUCE, and regular patterns for investigating and manipulating XML. We describe our experiences using XTATIC in a real-world application: a program for transforming XMLSPEC, a format used for authoring W3C technical reports, into HTML. Our implementation closely follows an existing one written in XSLT, facilitating comparison of the two languages and analysis of the costs and benefits—both significant—of rich static typing for XML-intensive code.
Forward Node-Selecting Queries Over Trees
- ACM Trans. Database Syst
, 2007
"... Node-selecting queries over trees lie at the core of several important XML languages for the Web, e.g., the node-selection language XPath, the query language XQuery and the transformation language XSLT. The main syntactic constructs of such queries are the backward predicates, e.g., ancestor and pre ..."
Abstract
-
Cited by 3 (1 self)
- Add to MetaCart
Node-selecting queries over trees lie at the core of several important XML languages for the Web, e.g., the node-selection language XPath, the query language XQuery and the transformation language XSLT. The main syntactic constructs of such queries are the backward predicates, e.g., ancestor and preceding, and the forward predicates, e.g., descendant and following. Forward predicates are included in the depth-first, left-to-right preorder relation associated with the input tree, whereas backward predicates are included in the inverse of this preorder relation. This work is devoted to an expressiveness study of node-selecting queries with proven theoretical and practical applicability, especially in the field of query evaluation against XML streams. The main question it answers positively is whether for each input query with forward and backward predicates there exists an equivalent forward-only output query. This question is then positively answered for input and output queries of varying structural complexity, using LOGLIN and PSPACE reductions. Various existing applications based on the results of this work are reported, including query optimization and streamed evaluation.

