Select a query from the pulldown menu in the top frame
Welcome to X-Hive's XQuery demo!
The purpose of this on-line demo is to show XQuery running on top of X-Hive/DB. In contrast to some other XQuery implementations that are currently available, this demo works with XML documents stored in a native XML database instead of XML documents stored (as flat files) in the filesystem.
The demo site has been updated to version 7.0 of X-Hive/DB! Besides many internal optimizations, the most user-visible change is that 7.0 is compliant to the April 2005 Working Draft. It now supports all of the current XQuery syntax - see the results of the W3C XQuery Conformance Test Suite. It also provides a new XQuery Update Syntax (see below).
XQuery is a query language specifically designed to be used with XML data sources. This demo is based upon the April 2005 version of the XQuery Working Draft and utilizes the documents and queries as described in the XML Query Use Cases document.
In addition to that it includes the sample queries from the XMach-1 benchmark and the XMark Benchmark.
Besides using the provided queries, it is also possible to specify your own queries on the sample database.
The database has been loaded with a library structure and documents which can be viewed through the database browser
This demo runs X-Hive 7.0, the current development version. It fully conforms to the April 2005 WD and implements the following optional features:
Full Axis Feature: X-Hive provides the optional axes ancestor, ancestor-or-self, following, following-sibling, preceding, and preceding-sibling, allowing more flexible and expressive queries.
Module Feature: X-Hive enables developers to modularize their queries using library modules and module imports, see the module import example.
It also provides a proprietary X-Hive/DB XQuery Update Syntax (there is no standard on that available yet). You can use the syntax in this demo, but the changes will not be persisted in the database. Make sure to select "Show documents after query execution" to view results.
Step 1: select an XQuery from the pull-down menu in the topframe.
Step 2: the selected XQuery is shown in a textbox on the left-half of the screen. Adjustments can be made to the XQuery, or the XQuery can be run as is. Press the "Submit Query" button to execute the XQuery.
Step 3: the result of the XQuery is shown on the right-half of the screen.
To specify your own XQuery, select the "Specify your own" item from the pull-down menu.
This on-line demo is provided as-is without any guarantee.
X-Hive Corporation has support for XQuery in its native XML database X-Hive/DB since version 3.0.
Since the XML Query working drafts are still a 'work in progress' it is likely that the XML Query language and X-Hive's implementation of it will change in the future.
Please send any comments or questions regarding this on-line demo to product_strategy@x-hive.com.