Altova XMLSpy 2025 Enterprise Edition

Method: ExecuteXQuery (strXMLFileName as String)

 

Description

Execute the XQuery statements contained in the document of the document object. Either an XQuery execution or an XQuery Update is performed depending on the file extension of the document. Use the XML file specified in the argument as the XML target document that the XQuery document processes.

 

If the document has an XQuery file extension as defined in the Options dialog of XMLSpy, then an XQuery execution is performed. By default: .xq, .xql, and .xquery are set as XQuery file extensions in XMLSpy.

If the document has an XQuery Update file extension as defined in the Options dialog of XMLSpy, then an XQuery Update action is performed. By default: .xqu is set as an XQuery Update file extension in XMLSpy.

 

If your XQuery script does not use an XML source, set the parameter strXMLFileName to an empty string.

 

 

Errors

1400

The document object is no longer valid.

1423

XQuery transformation error.

1424

Not all files required for operation could be loaded. Most likely, the file specified in strXMLFileName does not exist or is not valid.

 

 

© 2018-2024 Altova GmbH