|
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: |
Television
Television
XML Schema Tutorial
An XML Schema Tutorial that explores real-world XML Schema development issues, XML Schema examples and various use cases.
Learn XQuery Visually
Stylus Studio offers three infomative XQuery demonstration videos illustrating Stylus Studio's XQuery Editor, Mapper, Debugger and other advanced functionality. Watch them today!
XML Schema Editor
Stylus Studio's XML Schema Editor lets you easily develop advanced data models expressed in W3C XML Schema. Its synchronized split-pane interface shows both a visual XML Schema Diagram and the underlying code, and you can edit in either one.