Provided by: html-xml-utils_7.7-1_amd64
hxuncdata - replace CDATA sections by character entities
hxuncdata [ xml-file ]
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 "&", "<" and ">" respectively. The input must be 1 byte per character. If it is not, convert it to UTF-8 first.
The following options are supported: -?, --help Show command usage.
The following operand is supported: xml-file The file to work on.
UTF-8 (RFC 2279)