Databases Reference
In-Depth Information
12.The matches window appears with arguments: source-string, pattern, and
flags. Drag the city node under addr from the explorer window on the left to
the source-string window. Enter Toronto for the pattern argument and i for
case insensitivity for the flags argument. See Figure 1-30.
Now, click the Step out icon on the top right corner of the matches
window and return to the For Logic (FLWOR) window.
The fn:matches function does not take a second operand (Operand 2), so we
leave that column empty (as well as Operator).
Figure 1-30 XQuery Visual Builder: matches window
13.In addition to the customer name of the customer who resides in Toronto, we
want to display the city in the resulting output to verify that resulting names
are those from Toronto.
Search WWH ::




Custom Search