XMLSpy XQuery Editing Features:
- Support for schema-aware XQuery 1.0 and XQuery 3.0
- Powered by RaptorXML for lightning fast processing
- Syntax coloring, line numbering, bookmarking, & source folding
- Bracket matching & intelligent entry helpers
- Built-in, standards-conformant XQuery engine
- XQuery validation
- XQuery execution against XML or XML-enabled relational databases
- Intelligent XPath auto-completion
- Support for IBM's DB2 XQuery extensions
XMLSpy provides native support for XQuery 1.0 and XQuery 3.0 development and execution with its built-in, standards-conformant XQuery engine powered by RaptorXML. RaptorXML delivers hyper-fast XQuery processing to speed development and test functionality prior to deployment to RaptorXML Server.
The XQuery editor has built-in knowledge of XQuery syntax and provides you with context-sensitive entry helpers at all times, including a list of variables that is updated dynamically as you edit the document. Using the XQuery editor in advanced text view provides intelligent editing features such as syntax coloring, automatic code completion, and many other time-saving utilities to help you create and edit XQuery documents quickly and easily.
Support for schema-awareness in the XQuery editor allows you to harness the full power of XQuery through mechanisms for error isolation, simplified debugging, and enhanced code performance.
XQuery Entry Helpers
The XQuery editor provides context-sensitive entry helpers in drop-down menus that open as you type. Entry helpers are also listed in three entry helper windows. The color of items in the three Entry Helpers are different and correspond to the syntax coloring used in the text for easy reference.
The XQuery Keywords and XQuery Functions entry helpers are those supported by the XMLSpy XQuery engine. The variables are defined in the XQuery document itself. When a $ and a character are entered in the XQuery document, the character is listed in the Variables entry helper. As soon as a variable name that is being entered matches a variable name that already exists, the newly entered variable name disappears from the Entry Helper.
These entry helpers make it easier to edit XQuery documents by providing valid choices and options as you type.
The built-in XQuery engine supports XQuery validation and execution. You can execute your XQuery code against XML instance(s) or XML databases.
Support for executing XQuery against XML-enabled relational databases is currently provided for IBM DB2 9 only, and XMLSpy supports IBM's DB2 XQuery extensions:db2fn:xmlcolumn and db2:fn:sqlquery.