Programming with heterogeneous structures: manipulating XML data using bondi
F. Y. Huang, C. Barry Jay, David B. Skillicorn · UTS ePRESS (University of Technology Sydney) · 2006
Copyright c○2005 F.Y. Huang and C.B. Jay and D.B. Skillicorn Manipulating semistructured data, such as XML, does not fit well within conventional programming languages. A typical manipulation requires finding all occurrences of a structure whose context may be different in different places, and both aspects cause difficulty. Most approaches to these problems of data access are addressed by special-purpose languages which then pass their results to other, generalpurpose languages, creating the impedance mismatch problem. Alternative approaches add a few new means of data access to existing languages without being able to achieve the desired expressive power. We show how an existing programming language, bondi, can be used as is to handle XML data, since data access patterns, called signposts, are first-class expressions which can be passed as parameters to functions. Programming with Heterogeneous Structures: Manipulating XML data using bondi