Changes

Jump to navigation Jump to search
35 bytes removed ,  17:35, 22 February 2022
no edit summary
All <code>originalNode</code> elements are renamed. An iterative approach helps to modify multiple nodes within a single statement. Nodes on the descendant- or attribute-axis of the target are not affected. This has to be done explicitly as well.
==NonMain-Updating ExpressionsMemory Updates==
===copy/modify/return===
==Returning Results==
By default, it is not possible to mix different types of expressions in a query result. The outermost root expression of a query must either be a collection sequence of updating or non-updating expressions. But there are two ways out:
* The BaseX-specific <code>[[Update Module#update:output|update:output()]]</code> function bridges this gap: it caches the results of its arguments at runtime and returns them after all updates have been processed. The following example performs an update and returns a success message:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu