|
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:
|
Building Workflow Applications with XML
Learn how to design custom XML workflow applications - from modeling your data and information processes, to capturing input from users in XML, and finally, generating useful queries and reports from the XML data -- using XSLT & XQuery technologies.
XML Schema-Aware Queries and Stylesheets
Learn how to simplify XSLT and XQuery applications using Schema Aware XSLT and XQuery processing technologies.
XPath Query Editor
Stylus Studio's XML Editor has an XPath Query Editor that allows you to easily roubleshoot, test, and debug any XPath expression.
SQL Server Tools
SQL Server Tools in Stylus Studio simplify working with relational and XML data including exporting data from a SQL Server database into XML and importing XML data back into SQL Server. Supports Microsoft SQL Server 2000 and Microsoft SQL Server 2005


