Altova XMLSpy 2025 Enterprise Edition

XQuery

Home Prev Top Next

Altova website: AltovaWebLink XQuery Editor

 

XQuery and XQuery Update documents can be edited in Text View. This view (see screenshot) provides entry helpers, syntax coloring, and intelligent editing to make editing easy. In addition, you can validate your XQuery document and run it (with an optional XML file if required) using the built-in Altova XQuery Engine.

Click to expand/collapse

Note:XQuery and XQuery Update files can be edited only in Text View. No other views of XQuery files are available.

 

XQuery and XQuery Update file associations

In XMLSpy, XQuery and XQuery Update documents are recognized as two different document types. Typically XQuery documents have the .xq extension, while XQuery Update documents have the .xqu file extension. You can associate additional file extensions with these filetypes, and also change filetype associations, at any time, in the File Type section of the Options dialog (Tools | Options | FileType).

 

The document type association of a file extension is important because, depending on the this association, either an XQuery execution or an XQuery Update will be carried out when the XQuery/ Update Execution command is run.

 

In this section

This section is organized as follows:

 

Editing XQuery Documents

XQuery Evaluation

XQuery Validation

XQuery Execution/Update

XQuery Update Facility

XQuery and XML Databases

 

 

Other related features and information:

 

XSLT/XQuery Debugger and Profiler

XQuery Engine Implementation

Output Window: XPath/XQuery

Tools | Options | File Types

Tools | Options | XQuery

 

RaptorXML for command line and batch processing

The XMLSpy GUI enables batch processing via the projects functionality. However, if you are looking for more flexibility, you should try Altova's RaptorXML product, which contains Altova's newest XQuery Engine. RaptorXML is ideal if you wish to perform XQuery executions from the command line, or batch processing.

 

© 2018-2024 Altova GmbH