This topic describes how to create a collection()
statement in your XQuery code automatically. If you prefer, you can always write the collection()
statement manually. Regardless of how you input the collection()
statement in your XQuery code, Stylus Studio will be able to execute it only if you have created a database connection for the database associated with the table or view referenced in the collection()
function calls and have registered that connection with the XQuery.