Editing XQuery Documents

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  User Guide and Reference > XQuery >

Editing XQuery Documents

In XMLSpy, XQuery and XQuery Update documents are recognized as two different document types. The document type (XQuery or XQuery Update) is assigned to a file extension in the File Types section of the Options dialog (Tools | Options | FileType, screenshot below). When a file of XQuery or XQuery Update type is opened in XMLSpy, the XQuery editing features of Text View are available for that file.

Click to expand/collapse

File extensions currently defined as XQuery and XQuery Update in XMLSpy


.xq  .xql  .xqr  .xquery

XQuery Update




Note:The editing features described in this section are identical for XQuery and XQuery Update documents.


XQuery Execution/Update

The GUI command XSL/XQuery | XQuery/ Update Execution automatically runs either an XQuery execution or XQuery update depending on the filetype of the XQuery file that is selected to be run. See the section XQuery Execution/Update for more details.


© 2019 Altova GmbH