FLWOR is an acronym of an XQuery structure. It roughly corresponds to the SQL query structure:
(F)or
Initial query part that specifies query cycle including control variable. Results of XPath expression behind the keyword " in" are assigned to the variable.
(L)et
You can assign values of next variable that can be used later in this section.
(W)here
specifies selection condition ie. which nodes (values) selected by for section will be used.The condition can utilize the variables defined in the "let" section.
(O)rder
Defines how the nodes should be oredered.
®eturn
Defines what is returned, constructed from extracted nodes (values).