arc:unset

Version 24.2.8965


arc:unset


Use the arc:unset keyword to delete attributes from an item, or to 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 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 attribute (for example, *.foo).

Control Attributes

None

Example

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.