Working with the XQuery collection() Function


Support for the XQuery collection() function is available only in Stylus Studio XML Enterprise Suite and Stylus Studio DataDirect XQuery Suite.

As implemented in Stylus Studio, the XQuery collection() function allows you to include relational database tables and views in your XQuery as if they were XML documents. (The collection() function is implementation-specific - different vendors have implemented it in different ways. In some implementations, for example, the collection() function takes as its argument a URL that specifies an XML document.)

This section describes how to work with the collection() function in Stylus Studio.


Watch it! You can view a video demonstration of this feature by clicking the television icon or by clicking this link: watch the XQuery Collections video.

A complete list of the videos demonstrating Stylus Studio's features is here:

This section covers the following topics:

Free Stylus Studio XML Training:
W3C Member