XQuery: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
Xquery is a query language that uses the structure of XML intelligently can express queries across all these kinds of data, whether physically stored in XML or viewed as XML via middleware. In other words, you can use it to retrieve things from files, from XML representations made from SQL databases, from native XML databases like exists. In addition, Xquery is quite a real programming language. XUpdate is a protocol to updated (XQuery can't). XML Databases are servers in which can plug XML "as is" and get it back with Xquery and/or XSLT.
Xquery is a query language that uses the structure of XML intelligently can express queries across all these kinds of data, whether physically stored in XML or viewed as XML via middleware. In other words, you can use it to retrieve things from files, from XML representations made from SQL databases, from native XML databases like exists. In addition, Xquery is quite a real programming language. XUpdate is a protocol to updated (XQuery can't). XML Databases are servers in which can plug XML "as is" and get it back with Xquery and/or XSLT.


== Manuals ==
== Documentation ==


* [http://www.xmldatabases.org/projects/XUpdate-UseCases/ XML:DB XUpdate Use Cases] by Kimbro Staken. This document outlines a basic set of uses cases for the XUpdate specification from the XML:DB Initiative.
=== Standards ===
 
* [http://www.w3.org/TR/xquery/ XQuery 1.0: An XML Query Language] (the central document). XQuery can only query (not update). There are some other parts, e.g.
** [http://www.w3.org/TR/xquery-use-cases/ XML Query Use Cases]
** [http://www.w3.org/TR/xmlquery-req XML Query Requirements]
** [http://www.w3.org/TR/query-datamodel/ XML Query Data Model]
* [http://www.w3.org/TR/xqupdate/ xqupdate - XQuery Update Facility]. This will replace Xupdate (a very informal "standard") [W3C Working Draft 27 January 2006]
* [http://www.w3.org/TR/xpath20/ Xpath 2.0] is used both by XSLT 2.0 and XQuery. XQuery is an extension of XPath 2.0 and both XSLT 2.0 and XQuery 2.0 share the same data model.
* [http://xmldb-org.sourceforge.net/xupdate/index.html Xupdate]. Not a W3C standard, can be used to update some XML databases (not updated since 2000 an will be replaced by XML Query Update). Xupdate looks a lot like XSLT.


== XQuery Tutorials ==
=== XQuery Tutorials ===


* [http://www.yukonxml.com/articles/xquery/ Essential XQuery - The XML Query Language] by Darshan Singh. (Feb 2, 2004). Good !
* [http://www.yukonxml.com/articles/xquery/ Essential XQuery - The XML Query Language] by Darshan Singh. (Feb 2, 2004). Good !
* [http://www.ibm.com/developerworks/xml/library/x-xquery.html An introduction to XQuery] article for recent developments (2002, updated 2003).
* [http://www.ibm.com/developerworks/xml/library/x-xquery.html An introduction to XQuery], IBM Developer works (2002, updated 2006).
* [http://www.brics.dk/~amoeller/XML/querying/index.html XQuery], tutorial by Anders M�ller & Michael I. Schwartzbach [2003]
* [http://www.brics.dk/~amoeller/XML/querying/index.html XQuery], tutorial by Anders Möller & Michael I. Schwartzbach [2003]. See also the
* [http://www.ipedo.com/html/xquery/xquery_tutorial/index.html XQuery Tutorial] from IPEDO. Quite technical.
* [http://www.ipedo.com/html/xquery/xquery_tutorial/index.html XQuery Tutorial] from IPEDO. Quite technical.
* [http://www.webreference.com/programming/xquery/index.html XQuery from the Experts: Influences on the design of XQuery] Webreference Article, excerpt is from Chapter 2 of the Addison-Wesley book XQuery from the Experts. [2003]
* [http://www.webreference.com/programming/xquery/index.html XQuery from the Experts: Influences on the design of XQuery] Webreference Article, excerpt is from Chapter 2 of the Addison-Wesley book XQuery from the Experts. [2003]
* Michael Brundage (2004). XQuery: The XML Query Language, Portland: Book News [this is a good book]
* Michael Brundage (2004). XQuery: The XML Query Language, Portland: Book News [this is a good book]


=== Other ===
* [http://www.xmldatabases.org/projects/XUpdate-UseCases/ XML:DB XUpdate Use Cases] by Kimbro Staken. This document outlines a basic set of uses cases for the XUpdate specification from the XML:DB Initiative.


== Software ==
== Software ==
Line 30: Line 41:
* [http://sourceforge.net/projects/xqengine/ XQEngine - XML Query Engine] implements XQuery - sourceforge project.
* [http://sourceforge.net/projects/xqengine/ XQEngine - XML Query Engine] implements XQuery - sourceforge project.
* [http://www.dbis.ethz.ch/research/current_projects/MXQuery MXQuery]. low-footprint, extensible XQuery Engine (Java). Includes support for update
* [http://www.dbis.ethz.ch/research/current_projects/MXQuery MXQuery]. low-footprint, extensible XQuery Engine (Java). Includes support for update
* [http://www.galaxquery.org/ Galax]. open-source implementation of XQuery 1.0.
* [http://safariguide.net/ Safari Guide ] Safari Guide is a free application for Mac OS X Tiger that allows developers to evaluate arbitrary XPath and XQuery expressions against the current frontmost Safari webpage. [10/2005]
* [http://safariguide.net/ Safari Guide ] Safari Guide is a free application for Mac OS X Tiger that allows developers to evaluate arbitrary XPath and XQuery expressions against the current frontmost Safari webpage. [10/2005]



Revision as of 15:28, 24 November 2007

Definition

Xquery is a query language that uses the structure of XML intelligently can express queries across all these kinds of data, whether physically stored in XML or viewed as XML via middleware. In other words, you can use it to retrieve things from files, from XML representations made from SQL databases, from native XML databases like exists. In addition, Xquery is quite a real programming language. XUpdate is a protocol to updated (XQuery can't). XML Databases are servers in which can plug XML "as is" and get it back with Xquery and/or XSLT.

Documentation

Standards

XQuery Tutorials

Other

  • XML:DB XUpdate Use Cases by Kimbro Staken. This document outlines a basic set of uses cases for the XUpdate specification from the XML:DB Initiative.

Software

XML databases

See XML database

XQuery Engines

  • ***SAXON XSLT and XQuery Processor INSTALLED and used as default XSLT engine at Tecfa: local documentation.
  • XQEngine - XML Query Engine implements XQuery - sourceforge project.
  • MXQuery. low-footprint, extensible XQuery Engine (Java). Includes support for update
  • Galax. open-source implementation of XQuery 1.0.
  • Safari Guide Safari Guide is a free application for Mac OS X Tiger that allows developers to evaluate arbitrary XPath and XQuery expressions against the current frontmost Safari webpage. [10/2005]

XML Editors with XQuery support

See XML editor for a list of XML editors

Many, e.g. XML Exchanger lite.

Links