Version 8.2.2
 —  X-Query Reference Guide  —

SetExpr

Select the union or intersection of node sets.


Syntax

SetExpr

graphics/SetExpr.jpg

Top of page

Description

With a SetExpr you can select the union or intersection of node sets. A union set is constructed by using the operator | and contains all nodes that are in any one of the node sets. An intersection is constructed by using the operator intersect and contains only those nodes that are in all nodes.

Top of page

Compatibility

It corresponds to the expression UnionExpr defined in XPath, Section 3.3, Rule 18. However, X-Query adds the intersect operator which is not present in XPath.

Top of page

Examples

Top of page

Related Expressions

Location Path PrimaryExpr Predicate

Top of page