Content deleted Content added
→Language comparison: fixed wording in J entry |
→Language comparison: There is also <code>for $var in list return block </code> which returns a new, mapped list and <code>list/block</code> if list only contains nodes |
||
Line 297:
|
|
| stops after the shortest list ends
|- valign="top"
| [[XPath_3|XPath]] 3<br/>[[XQuery|XQuery]] 3
| <code>list ! block</code><br /> <code>for-each(list, func)</code>
| <code>for-each-pair(list1, list2, func)</code>
|
| In <code>block</code> the context item <code>.</code> holds the current value
| stops after the shortest list ends
|}
|