Strathprints logo
Strathprints Home | Open Access | Browse | Search | User area | Copyright | Help | Library Home | SUPrimo

Projector - a partially typed language for querying XML

Connor, Richard and Lievens, David and Simeoni, Fabio and Neely, Steve and Russell, George (2002) Projector - a partially typed language for querying XML. In: PlanX Workshop on Programming Language Technologies for XML, 2002-10-03 - 2002-10-08, Pittsburgh, USA.

[img]
Preview
PDF (strathprints002455.pdf)
strathprints002455.pdf

Download (127kB) | Preview

Abstract

We describe Projector, a language that can be used to perform a mixture of typed and untyped computation against data represented in XML. For some problems, notably when the data is unstructured or semistructured, the most desirable programming model is against the tree structure underlying the document. When this tree structure has been used to model regular data structures, then these regular structures themselves are a more desirable programming model. The language Projector, described here in outline, gives both models within a single partially typed algebra and is well suited for hybrid applications, for example when fragments of a known structure are embedded in a document whose overall structure is unknown. Projector is an extension of ECMA-262 (aka JavaScript), and therefore inherits an untyped DOM interface. To this has been added some static typing and a dynamic projection primitive, which can be used to assert the presence of a regular structure modelled within the XML. If this structure does exist, the data is extracted and presented as a typed value within the programming language.

Item type: Conference or Workshop Item (Paper)
ID code: 2455
Keywords: projector, XML, programming languages, Electronic computers. Computer science
Subjects: Science > Mathematics > Electronic computers. Computer science
Department: Faculty of Science > Computer and Information Sciences
Unknown Department
Depositing user: Strathprints Administrator
Date Deposited: 16 Jan 2007
Last modified: 21 Jul 2015 19:26
Related URLs:
URI: http://strathprints.strath.ac.uk/id/eprint/2455

Actions (login required)

View Item View Item