AddExternalVariable Print this Topic Previous Page Up One Level Next page

Home >  Server APIs: HTTP REST, COM/.NET, Java > Server API Reference > Interfaces/Classes > XQuery > Methods >


Adds the name and value of a new external variable. Each external variable and its value is to be specified in a separate call to the method. Variables must be declared in the XQuery document (with an optional type declaration). If the variable value is a string, enclose the value in single quotes. The name parameter holds the name of the variable, which is a QName, as a string. The value parameter holds the value of the variable as a string.


COM and .NET


Signature: AddExternalVariable(string name, string value)




Signature: public void addExternalVariable(string name, string value)


© 2019 Altova GmbH