|
Home > Online Product Documentation > Table of Contents > Working with Collections Working with Collections
In Stylus Studio, a collection is defined by
Once you create a collection, you can use the collection name as the argument for the
A complete list of the videos demonstrating Stylus Studio's features is here: http://www.stylusstudio.com/xml_videos.html. Collection NamesCollection names are created automatically by Stylus Studio. Initially, Stylus Studio uses a default placeholder name, coll1, coll2, and so on. Once you identify the relational table or view on which you wish you base the collection, Stylus Studio replaces the default name with the name of the table or view ( pubs.dbo.authors, for example).
Using Collections in XQuery Code
The XQuery
Note that the
How Collections are Processed
The Stylus Studio built-in processor and the DataDirect XQuery processor process collections differently:
Because it processes XQuery as SQL on the database server, the DataDirect XQuery processor can provide performance superior to that of other XQuery processors. How to Create a CollectionTo create a collection:
1. On the
General tab of the XQuery
Scenario Properties dialog box, click the new icon (
A new collection is added to the list box with a default name ( coll1, for example).
2. Click the
URL field.
The
URL field becomes active. A browse button (
3. Click the browse button to define the URL for the collection.
The Open dialog box appears with the URL Builder tab selected.
4. Use the URL Builder to define the URL for the relational table or view for which you wish to define the collection.
See Using the URL Builder if you need help with this step. Alternative: You can type the URL manually if you know the database URL.
6. Click
OK.
You can now reference the collection in the
|
XML-to-HTML Mapper
Stylus Studio simplifies XML-to-HTML mapping through the industry's first and only XML to HTML mapping tool based on industry standard XSLT.
Apache FOP
Apache FOP is an open-source engine is available from the Apache project that renders XSL-FO into PDF and other popular document formats. Apache FOP is fully integrated with Stylus Studio's XSL:FO tools.
Saxon XSLT Processor
Stylus Studio® has partnered with Saxonica, a leading provider of Java-based XSLT and XQuery processing components to offer a robust XSLT 1.0 and 2.0 development environment, featuring development and deployment using the Saxon XSLT processor.
Educational Institutions That Use Stylus Studio
Education is the most powerful tool one can have. That's why these top education providers reach for Stylus Studio to educate their students and professors as well. See which education providers have the most powerful XML IDE in their classrooms!