Format a local XML file
abox_xml_formatPretty-print or minify local UTF-8 XML files while preserving mixed content and xml:space, writing a verified new file. Rejects DTDs and external resources.
Instructions
Pretty-print or minify local UTF-8 XML using the existing website parser and printer. Preserves mixed content and xml:space behavior. Rejects DTDs and custom entities; no external resource resolution. Writes a new .xml file and verifies document structure and text. Formatting can change insignificant whitespace and quote spelling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indent | No | 2 | |
| minify | No | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. |