|
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:
|
Multi Channel Publishing
Multi channel publishing lets you go beyond single-source publishing of HTML and PDF to also generate simultaneously for non-document forms, such as to communicate with partners or drive spreadsheets.
XML Notepad
XML Notepad simplifies building of XML applications, allowing authors to rapidly build and edit their XML files. With XML Notepad, you can create XML document prototypes quickly, easily, using an intuitive graphical interface.
Learn XSLT and XQuery Profiling
Stylus Studio's Profiler can help you evaluate the performance of your XQuery and XSLT. Automatically generated, customizable, easy-to-read HTML reports provide insight into performance bottlenecks.
XML Schema Library
The Stylus Studio XML Schema Library provides a detailed reference of many of the world's most commonly used XML vocabularies in an easy-to-read format.