Actions31
콘텐츠 → 텍스트 치환
AI-generatedSummary
Replace specified text strings within an HWPX document's XML files based on a provided list of text pairs.
Inputs
- 입력 방식 (required) — Choose the input method of the HWPX file: either from binary data or downloadable URL.
- 입력 바이너리 속성 (required) — The binary property name containing the HWPX file data when input is set to binary.
- 파일 URL (required) — The URL from which to download the HWPX file when input is set to URL.
- 치환 목록 (required) — A fixed collection of text replacement pairs. Each pair includes the text to find and the text to replace it with in the document.
- 출력 바이너리 속성 — The binary property name to store the modified HWPX file after replacements.
- 옵션 — Additional options including the target files for replacements: either only the Contents XML files (recommended) or all XML files in the HWPX archive.
Output shape
a single binary data representing the modified HWPX file
The returned binary property contains the updated HWPX file with all specified text replacements applied. Replacement is applied either only on Contents/*.xml files or on all XML files within the archive based on the options.
Examples
Example 1: Replace multiple text entries in an HWPX document loaded from binary data, modifying only the contents XML files, and output the updated file in a specified binary property.
Set 입력 방식 to '바이너리 데이터', specify the 입력 바이너리 속성 where the HWPX binary resides, add one or more 치환 쌍 entries with search and replace texts, optionally specify the output binary property name, and choose 대상 파일 as 'Contents XML만'.