File: hxuncdata.1

package info (click to toggle)
html-xml-utils 7.7-1.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,540 kB
  • sloc: ansic: 11,213; sh: 7,996; lex: 243; makefile: 192; yacc: 125
file content (27 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TH "HXUNCDATA" "1" "10 Jul 2011" "7.x" "HTML-XML-utils"
.SH NAME
hxuncdata \- replace CDATA sections by character entities
.SH SYNOPSIS
.B hxuncdata
.RI "[\| " xml-file " \|]"
.SH DESCRIPTION
.B 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.
.PP
The input must be 1 byte per character. If it is not, convert it to
UTF-8 first.
.SH OPTIONS
The following options are supported:
.TP
.BR \-? ", " \-\-help
Show command usage.
.SH OPERANDS
The following operand is supported:
.TP
.I xml-file
The file to work on.
.SH SEE ALSO
.BR UTF-8 " (RFC 2279)"