Document.ExecuteXQuery

www.altova.com Imprimer cette rubrique Page précédente Un niveau supérieur Page suivante

Accueil >  Programmers' Reference > Application API > Interfaces > Document >

Document.ExecuteXQuery

See also

 

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 Authentic Desktop, then an XQuery execution is performed. By default: .xq, .xql, and .xquery are set as XQuery file extensions in Authentic Desktop.
If the document has an XQuery Update file extension as defined in the Options dialog of Authentic Desktop, then an XQuery Update action is performed. By default: .xqu is set as an XQuery Update file extension in Authentic Desktop.

 

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.

 


© 2019 Altova GmbH