hxuncdata(1)

hxuncdata1

Replace cdata sections by character entities

Usage

hxuncdata [xml-file]

Overview

hxuncdata replaces CDATA sections by character entities. The input is scanned for occurrences of "<![CDATA[" and corresponding "]]>". Those strings are removed and all occurrences of "&", "<" and ">" in between them will be replaced by "&amp;", "&lt;" and "&gt;" respectively.

The input must be 1 byte per character. If it is not, convert it to UTF-8 first.

Options

The following options are supported:

-?, --help

Show command usage.

Operands

The following operand is supported:

xml-file

The file to work on.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7–8
  3. 9–Arch

From html-xml-utils 8.8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.