arc:unset

Version 20.0.7580


arc:unset

Version 20.0.7580


The arc:unset keyword is used to delete attributes from an item or delete the item itself.

Parameters

  • item: The item from which the attribute is to be removed. If you do not specify an item, the default output item is used. This parameter can also be used to remove an item.
  • attr: The attributes to delete from the item. You can use a glob mask to delete more than one parameter, for example, “*.foo”.

Control Attributes

None

Examples

Remove an attribute from an item before it is pushed out:

<arc:call op="fileListDir">
  <arc:unset attr="file:size"/>
  <arc:push/>
</arc:call>

See Also

  • arc:set: Set attributes in an item.