|
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:
|
Open XSLT Architecture
Learn how Stylus Studio's Open XSLT Architecture enables you to use any of the popular industry-standard XSLT processors (like Saxon, Xalan-J, MSXML, Microsoft .NET, and others) for all your XSLT development tasks.
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.
OASIS Catalog Support
Stylus Studio's features for working with OASIS catalogs allow you to incorporate any vendor's catalog - or one of your own - in your XML, making writing correct and robust XML easier than ever.
Convert DTD to XML
Learn how to create a sample XML instance document from a DTD using Stylus Studio DTD to XML conversion tools.