File: hxuncdata.1

package info (click to toggle)
html-xml-utils 6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,620 kB
  • sloc: ansic: 10,027; sh: 2,135; lex: 189; yacc: 125; perl: 123; makefile: 122
file content (27 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (2)
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" "6.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)"