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: http://www.stylusstudio.com/xml_videos.html.

This section covers the following topics:

DTD Editor

The Stylus Studio DTD Editor lets you visually develop Document Type Definitions (DTD) to structure XML documents. The DTD Editor also includes tools and utilites for validating XML against DTD's, converting DTD's, and generating DTD's.

XML Processing

Learn how to simplify XML Processing using Stylus Studio XML Pipeline, the easiest way to visually design and deploy virtually any XML processing tasks.

EDI to XML Mapping

A tutorial on how to transform EDI files into XML using Stylus Studio's Convert to XML tool. Subsequent post-processing of the converted EDI data is done through XQuery or XSLT, modeling a real world XML data integration application.

XQuery Profiler

Stylus Studio's XQuery Profiler allows you to benchmark any XQuery expression, and it helps you locate and eliminate performance bottlenecks for maximum XQuery performance.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member