Home > Programming > XML Programming



Programming with Heterogeneous Structures: Manipulating XML data Using

Sort Desciption:

However adding XML manipulation. to a generalpurpose programming language has proven ..... and can greatly simplify programming for XML ma. nipulation. ...



Content Inside:

Programming with Heterogeneous Structures: Manipulating XML data UsingPage 1Programming with Heterogeneous Structures:Manipulating XML data UsingbondiF. Y. HuangSchool of ComputingQueen's Universityhuang@cs.queensu.caC. B. JayFaculty of Information TechnologyUniversity of Technology Sydneycbj@it.uts.edu.auD. B. SkillicornSchool of ComputingQueen's Universityskill@cs.queensu.caAbstractManip ulating semistructured data such as XML doesnot t well within conventional programming languages.A typical manipulation requires ndingalloccurrencesof a structure matching astructuredsearch patternwhose context may bedierentin dierent places andboth aspects cause diculty. If a specialpurpose querylanguage is used to manipulate XML an interface toa more general programming environment is requiredand this interface typically creates runtime overhead fortype conversion. However adding XML manipulationto a generalpurpose programming language has provendicult because of problems associated with expressiveness and typing.We show an alternative approach that handles manykinds of patterns within an existing stronglytypedgeneralpurpose programming language called bondi.The key ideas are to express complex search patterns asstructures of simple patterns pass these complex patterns as parameters to generic dataprocessing functionsand traverse heterogeneous data structures by a generalized form of pattern matching. These ideas are madepossible by the language's support for pattern calculuswhose typing on structures and patterns enables pathand pattern polymorphism. With this approach addinga new kind of pattern is just a matter of programmingnot language design.Keywords: Pattern Calculus functional programming heterogeneous data structure XML processing1 IntroductionWhen processing semistructured data such as XMLa basic operation is to locate data items by theirposition in a structured context usually describedby a pattern or sequence of patterns. In some situations these patterns can be as si ...

Source: crpit.com


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us
Search Terms:

 

Related Files

XML from a Programming Language Perspective

Filed under: Programming and XML Programming
programming lanugages and type systems? XML from a Programming Language .... The second is to make it into a programming language. XML from a ...

XML programming in Java technology Part 1

Filed under: Programming and XML Programming
the pleasures of XML programming is the availability of opensource ...... I will cover all of these in an advanced XML programming tutorial here at ...

Programming in o:XML

Filed under: Programming and XML Programming
This is a programming guide for the o:XML programming language. ... XML and some programming experience preferably with an objectoriented language. ...

Programming XML

Filed under: Programming and XML Programming
Programming XML. XML Excursion 2001. Introduction. Who am I? Director of Product Technology SoftQuad Software Inc. CoDesigner XMetaL. Chair W3C DOM WG ...

THE DUALITY OF XML MARKUP AND PROGRAMMING NOTATION

Filed under: Programming and XML Programming
The XML notation is subsumed in the programming language. The XML ..... In this paper we have explored the duality of XML and programming language notation ...