Working with Zones and FLWOR Constructs

You can create FLWOR (For, Let, Where, Order By, Return) expressions in the Source View. FLWOR expressions are represented as zones in the XQuery Mapper target tree.

Zones identify areas in the target tree that are associated with FLOWR constructs or If-Then-Else conditional constructs. Zones are represented by yellow brackets to the left of the target tree.

If you move the mouse over a yellow line representing a zone, the line turns blue. For FLWOR zones, additional buttons appear, corresponding to the For-Let, Where, and Order By clauses. Figure 42-10 shows a sample XQuery with zones.

Figure 42-10 Zones and FLWOR Zones in XQuery Mapper

Description of Figure 42-10 follows
Description of "Figure 42-10 Zones and FLWOR Zones in XQuery Mapper"