| Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - | 
			Contents
			Index
			![]()  
		 | 
	
| Appendix B Format of Search, Return and Sort Expressions | 
Search expressions are used to specify search conditions that apply to XML documents to be retrieved
A search expression consists of one or more conditional expressions and filter expressions.
Refer to B.3.1 Conditional Expressions and B.3.8 Filter Expressions for more information on conditional expressions and filter expressions respectively.
To specify multiple conditional expressions or filter expressions, use logical operators.
Refer to Logical Operators below for more information.
The format for search expressions is shown below.


Search expressions must have at least one conditional expression or filter expression.
Logical OperatorsLogical operators indicate the logical relationship between two adjacent conditional expressions and filter expressions when multiple expressions are specified.
Logical operators are briefly explained in the following table.
| 
 Logical operator  | 
 Type of logical operation  | 
 Description  | 
|---|---|---|
| 
 AND  | 
 AND operation  | 
 Links pairs of conditional expressions with the AND operator.  | 
| 
 OR  | 
 OR operation  | 
 Links pairs of conditional expressions with the OR operator.  | 
In the following example, ([conditional expression 2] OR [conditional expression 3]) is evaluated first.

:  Represents a space
B.3.1 Conditional Expressions
B.3.2 Keywords
B.3.3 Escape Characters
B.3.4 Patterns
B.3.5 Character String
B.3.6 Numeric Values
B.3.7 Compatible Format
B.3.8 Filter Expressions
			Contents
			Index
			![]()  
		 |