arc:continue
Version 23.4.8839
arc:continue
Version 23.4.8839
The arc:continue keyword can be used to move to the next iterations of arc:call or arc:enum.
Parameters
None
Control Attributes
None
Examples
Produce a feed that lists only the files in a directory. The arc:continue keyword 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. All multivalued attributes are skipped by using arc:continue.
<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>