XDuce: A statically typed XML processing language

  • Authors:
  • Haruo Hosoya;Benjamin C. Pierce

  • Affiliations:
  • Kyoto University, Kyoto, Japan;University of Pennsylvania, Philadelphia, PA

  • Venue:
  • ACM Transactions on Internet Technology (TOIT)
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

XDuce is a statically typed programming language for XML processing. Its basic data values are XML documents, and its types (so-called regular expression types) directly correspond to document schemas. XDuce also provides a flexible form of regular expression pattern matching, integrating conditional branching, tag checking, and subtree extraction, as well as dynamic typechecking. We survey the principles of XDuce's design, develop examples illustrating its key features, describe its foundations in the theory of regular tree automata, and present a complete formal definition of its core, along with a proof of type safety.