XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Ivan PedruzziSubject: input parameter
Author: Ivan Pedruzzi
Date: 15 Aug 2016 06:16 PM

In XQuery parameters are called external variables. Search for it you will find plenty of examples, here one

declare variable $x as xs:string external;

If you defined an external variable in your query, it will automatically show in the scenario's Parameter Values tab, there can associate a value for testing purpose.

In the XQuery editor do Java code generation to see how to bind an external variable programmatically.

Does it help?

Ivan Pedruzzi
Stylus Studio Team

Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.