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
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Related Files
XML from a Programming Language Perspective
Filed under: Programming and XML Programmingprogramming 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 Programmingthe 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 ProgrammingThis 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 ProgrammingProgramming 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 ProgrammingThe XML notation is subsumed in the programming language. The XML ..... In this paper we have explored the duality of XML and programming language notation ...
