XMlambda - A Functional Language for Constructing and Manipulating XML Documents (2000)
| Citations: | 41 - 2 self |
BibTeX
@TECHREPORT{Meijer00xmlambda-,
author = {Erik Meijer and Mark Shields},
title = {XMlambda - A Functional Language for Constructing and Manipulating XML Documents},
institution = {},
year = {2000}
}
Years of Citing Articles
OpenURL
Abstract
XML has been widely adopted as a standard language for describing static documents and data. However, many application domains require XML, and it's cousin HTML, to be ltered and generated dynamically, and each such domain has adopted a language for the tasks at hand. These languages are often ill-suited, unsafe, and interact poorly with each other. In this paper we present XM, a small functional language which has XML documents as its basic data types. It is expressly designed for the task of generating and ltering XML fragments. The language is statically typed, which guarantees every document it generates at run-time will conform to its DTD, but also uses type inference to avoid the need for many tedious type annotations. The language is also higher-order and polymorphic, which allows many common programming patterns to be captured in a small highly reusable library. Furthermore, the language uses pattern-matching so that XML fragments may be deconstructed into their components ...







