Top-Level XQuery

Top-level XQuery provides a way to query collections of XML documents and forests, and XML views of relational data without the need to use SQL. It becomes the top-level language that is used as the primary query language at the same level as SQL is being used for relational data. It basically subsumes SQL under the XML and XQuery model and enables XML-savvy users to operate on both relational and XML data without having to use SQL. Unlike queries on an XML datatype, XQuery expressions can combine different XML documents and XML views of relational data. Another advantage of having top-level XQuery expressions is the ability to provide finer-grained concurrency control and locking (such as node-level tree locking).

Many relational ...

Get XQuery from the Experts: A Guide to the W3C XML Query Language now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.