Survey of XML Query Languages - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Survey of XML Query Languages

Description:

Roughly like SQL but for XML instead of relational data. The Languages. XQuery. Quilt. XQL. SQL/XML. XSL. Lorel. CXQuery. Active XQuery. XPath. The High Bit (ANSI/ISO) ... – PowerPoint PPT presentation

Number of Views:68
Avg rating:3.0/5.0
Slides: 13
Provided by: tri586
Category:
Tags: xml | languages | query | quilt | survey

less

Transcript and Presenter's Notes

Title: Survey of XML Query Languages


1
Survey of XML Query Languages
  • Josh Spiegel

2
What is an XML Query Language?
Roughly like SQL but for XML instead of
relational data.
ltemployeesgt ltemployee id1gt ltnamegtJohn
Coltranelt/namegt ltsalarygt152156lt/salarygt lt/emplo
yeegt ltemployee id2gt ltnamegtMaceo
Parkerlt/namegt ltsalarygt82654lt/salarygt lt/employee
gt ltemployee id3gt ltnamegtJosh
Spiegellt/namegt ltsalarygt35250lt/salarygt lt/employe
egt lt/employeesgt
I want all the employees that make more than
50,000.
3
The Languages
Chances are, if you ever end up using an XML
query language, you will use XQuery.
XML-QL
The High Bit
XQuery
Lorel
Quilt
SQL/XML
  • Almost a W3C recommendation
  • Already the de facto standard
  • There are many implementations

(ANSI/ISO)
XPath
CXQuery
XML-GL
XSL
XQL
Active XQuery
4
Comparative Analysis
  • Comparative Analysis of Five XML Query Languages
    by Angela Bonifati and Stefano CeriSIGMOD
    Record 2000
  • 27 Features an XML Query Language should have
  • Uses the features to compare 5 languages
  • Lorel
  • XML-QL
  • XML-GL
  • XSL
  • XQL
  • ADDED XQuery

5
(No Transcript)
6
(No Transcript)
7
Expectations
  • We expect XQuery to do better than the other 5
    languages.
  • The other languages are roughly grandparents of
    XQuery.
  • XQuery is the de facto standard.
  • XQuery will soon be a W3C recommendation.

8
XQuery could have done better
  • Where it did well
  • Integration of XML Schema
  • Where it needs improvement
  • Insert, update, delete
  • Full support for XPointer and XLink
  • XQuery working group indicates these features
    will be added in the future.
  • Implementations support features not in the
    language specification.

9
Integration of XML Schema
  • XML Schema / DTD define the structure, content
    and semantics of XML documents e.g. xsdinteger
  • XQuery will never require a XML Schema
  • When a schema is available, more static checks
    are possible

10
Integration of XML Schema
  • ltemployeesgt
  • ltemployee id1gt
  • ltnamegtJohn Coltranelt/namegt
  • ltsalarygt152156lt/salarygt
  • lt/employeegt
  • ltemployee id2gt
  • ltnamegtMaceo Parkerlt/namegt
  • ltsalarygt82654lt/salarygt
  • lt/employeegt
  • ltemployee id3gt
  • ltnamegtJosh Spiegellt/namegt
  • ltsalarygtpeanutslt/salarygt
  • lt/employeegt
  • lt/employeesgt

Query What is the average salary?
11
Integration of XML Schema
  • ltemployeesgt
  • ltemployee id1gt
  • ltnamegtJohn Coltranelt/namegt
  • ltsalarygt152156lt/salarygt
  • lt/employeegt
  • ltemployee id2gt
  • ltnamegtMaceo Parkerlt/namegt
  • ltsalarygt82654lt/salarygt
  • lt/employeegt
  • ltemployee id3gt
  • ltnamegtJosh Spiegellt/namegt
  • ltsalarygtpeanutslt/salarygt
  • lt/employeegt
  • lt/employeesgt

Query What is the average salary?
12
THE END
Write a Comment
User Comments (0)
About PowerShow.com