arc:continue
Version 24.2.9039
Version 24.2.9039
arc:continue
Use the arc:continue keyword can to move to the next iteration of arc:call or arc:enum.
Parameters
None
Control Attributes
None
Examples
Produce a feed that lists only the files in a directory. arc:continue is used to skip over items representing a directory.
<arc:call op="fileListDir">
<arc:equals attr="file:isdir" value="true">
<arc:continue/>
</arc:equals>
<arc:push/>
</arc:call>
List the values of single-valued attributes. Using arc:continue means all multi-valued attributes are skipped.
<arc:set attr="foo.multiattr#" value="value1"/>
<arc:set attr="foo.multiattr#" value="value2"/>
<arc:set attr="foo.attr2" value="value3"/>
<arc:enum item="foo">
<arc:notequals attr="_count" value="1">
<arc:continue/>
</arc:notequals>
[_index]: [_attr] has the value [_value] <!-- only evaluated for attr2 -->
</arc:enum>