<defer> jump to another element

name
defer
xml namespace
http://moyaproject.com

Defer to a given element, such as a <macro>. Deferring to a macro is similar to calling it, but no new scope is created. This means that the macro has access to the same variables where defer was called.

Example

<macro docname="board">
    <echo>${character} is on board</echo>
</macro>

<macro docname="main">
    <let crew="['John', 'Rygel', 'Scorpius']"/>
    <for src="crew" dst="character">
        <defer to="board"/>
    </for>
</macro>
attributes
name purpose type required? default choices
element Element expression No None
from Application application reference No
to Element reference text No
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes