|
Home > Online Product Documentation > Table of Contents > Obtaining a Union Obtaining a Union
Specify the
The result set can contain zero or more of each element that the
The next query finds all books and all authors in the current context:
The next query returns the first names, last names, and degrees of authors of books or magazines in the current context:
A union can appear only as the first step in a location path expression. Consequently, the following is incorrect because there is a union specification that is not in the first step of a location path expression.
The following query finds all books for which the author's first name is Bob and all magazines with prices less than 10 dollars:
|
Metals, Mining & Crude-Oil Production
It can be very dark and dreary in a mine. That's why metal, mining & crude-oil production are using Stylus Studio as their light when it comes to data integration. See which of these top companies are using Stylus Studio to show them the way to XML!
XML Code Folding
Stylus Studio's XML Editor features XML code folding, a powerful and intuitive way to maximize limited screen real-estate and help make sense of large XML files.
XML Videos
Stylus Studio online XML video demonstrations illustrate how easy it is to learn advanced XML editing techniques. Now playing: Java Code Generation, Convert to XML, Grid View, and many other informative video demonstrations.
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.