How to Generate XQuery from a Web Service Call

To generate XQuery from a Web service call:
1. Create a Web service call as described in How to Compose a Web Service Call.
2. Test the SOAP request by clicking the Preview Result button, and verify that it returns the results you require.
3. Click WebServiceCall > Copy XQuery to Clipboard on the Stylus Studio menu.

Stylus Studio creates an XQuery based on the SOAP request and copies the generated XQuery code to your system's clipboard.

 
Free Stylus Studio XML Training: