Home > Programming > XML Programming



XQuery for nonXML datatypes using generic programming

Sort Desciption:

XQuery for nonXML datatypes using generic. programming ... To enjoy the convenience and ease of use of XQuery with nonXML data. Example: which ...



Content Inside:

XQuery for nonXML datatypes using generic programmingPage 11/20Pi?XQuery for nonXML datatypes using genericprogrammingFermn Reig University of NottinghamPage 22/20Pi?MotivationTo enjoy the convenience and ease of use of XQuery with nonXML data. Example: whichbooks are cheaper in Amazon than in B&N?Page 32/20Pi?MotivationTo enjoy the convenience and ease of use of XQuery with nonXML data. Example: whichbooks are cheaper in Amazon than in B&N?let $am := document("http://www.amazon.com/books .xml")/BOOKS$bn := document("http://www.bn.com/books.xml ")/BOOKSfor $a in $am/BOOK$b in $bn/BOOKwhere $a/ISBN = $b/ISBNand $a/PRICE <= $b/PRICEreturn <BOOK>{ $a/TITLE $a/PRICE $b/PRICE </BOOK>Page 42/20Pi?MotivationTo enjoy the convenience and ease of use of XQuery with nonXML data. Example: whichbooks are cheaper in Amazon than in B&N?let $am := document("http://www.amazon.com/books .xml")/BOOKS$bn := document("http://www.bn.com/books.xml ")/BOOKSfor $a in $am/BOOK$b in $bn/BOOKwhere $a/ISBN = $b/ISBNand $a/PRICE <= $b/PRICEreturn <BOOK>{ $a/TITLE $a/PRICE $b/PRICE </BOOK>(Note: the types of Amazon and B&N books need not be the same. It suffices that both havesubcomponents named ISBN and price of compatible types.)Page 53/20Pi?Motivation (2)Reasons not to use XML as a representation of data include type safety and space usage.Page 63/20Pi?Motivation (2)Reasons not to use XML as a representation of data include type safety and space usage.data Xml tree =| Node Elem name Attribute] Xml tree]| Leaf StringDescription of the structure is repeated over and over in the data. Ex:Page 73/20Pi?Motivation (2)Reasons not to use XML as a representation of data include type safety and space usage.data Xml tree =| Node Elem name Attribute] Xml tree]| Leaf StringDescription of the structure is repeated over and over in the data. Ex:book = ("123456""Introduction to XML"30)xml book = Node "BO ...

Source: www.cs.uu.nl


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 ...