> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:push

> 使用 arc:push 將物件推送到指令碼的輸出物件集中；如果沒有 arc:push，指令碼不會生成輸出物件。

export const siteNameShort = "知行之橋";

`arc:push` 關鍵字可以將物件推送到指令碼的輸出物件集中。如果指令碼中沒有 `arc:push` 元素，則不會生成輸出物件。

## 參數

* **item**：要推送到物件集中的物件。如果未提供，則推送堆疊頂部的物件。

* **title**：物件集物件的標題。

* **desc\[ription]**：物件集物件的描述。如果未提供，則使用 `arc:push` 關鍵字的範圍。`arc:push` 關鍵字的範圍可以包含其他關鍵字、HTML 標籤等。所有內容都會作為範本求值，並用於設定描述。

* **op**：要呼叫的操作名稱，並推送生成的物件。例如：

  ```xml theme={null}
  <arc:push op="ops" in="input" out="output" />   
  ```

  這是以下內容的簡寫：

  ```xml theme={null}
  <arc:call op="ops" in="input" out="output">
    <arc:push item="output" />
  </arc:call>
  ```

* **enc\[oding]**：描述的編碼。預設情況下，應用程式會將描述作為轉義的 XML 推送。可以將此參數設定為 `cdata`，以將描述編碼為 CDATA（其中包含未轉義的 XML）。

## 控制屬性

無

## 範例

為每個推出的物件建立描述。描述是 `arc:push` 關鍵字範圍中的文字，如下所示：

```xml theme={null}
<arc:call op="fileListDir?mask=*.log">
  <arc:push>
    The .log file contains details about the transmission, including any error messages.
  </arc:push>
</arc:call>
```
