--- title: "core:listMode=\"OVERWRITE\"" slug: "orchestration-integration-control-attribute-list-mode-overwrite" updated: 2026-04-29T07:25:58Z published: 2026-04-29T07:25:58Z canonical: "docs.lobstersoftware.com/orchestration-integration-control-attribute-list-mode-overwrite" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # core:listMode="OVERWRITE" | Action | XML | Description | | --- | --- | --- | | Input XML | ```xml ``` | A simple shipment object with line items. | | Update XML | ```xml ``` | The attribute `core:listMode="OVERWRITE"` changes the list mode from "APPEND" to "OVERWRITE". Items are automatically resolved based on the "lineItemId" attribute. The attribute `base:keepTrees='X'` is valid only for line items. Here all line items of type "X" are kept (see above). The attribute `base:keepChildren='true'`is also only valid for line items. Here all subitems of lineItemId='2' are kept. | | XML result | ```xml ``` | As can be seen, items 1.2, 3 and 3.1 have been removed as they are not included in the XML Update. The positions X1 and X2 were taken over due to the attribute `base:keepTrees='X'`. The position 2.2 was also kept because of the attribute `base:keepChildren='true'`. |