The IXQuery/XQuery interface/class provides methods to (i) execute XQuery documents and XQuery updates, and (ii) validate XQuery-related documents. You can also provide data for the executions via external variables.
Note that the name of the interface in the COM/.NET API is different than that of the class in the Java API:
•In COM/.NET: IXQuery
•In Java: XQuery