File: hxunxmlns.1

package info (click to toggle)
html-xml-utils 7.7-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,488 kB
  • sloc: ansic: 11,213; sh: 7,996; lex: 243; makefile: 193; yacc: 125
file content (44 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (3)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.de d \" begin display
.sp
.in +4
.nf
..
.de e \" end display
.in -4
.fi
.sp
..
.TH "HXUNXMLNS" "1" "10 Jul 2011" "7.x" "HTML-XML-utils"
.SH NAME
hxunxmlns \- replace XML "global names" by Namespace prefixes
.SH SYNOPSIS
.B hxunxmlns
.RB "[\| " \-\- " \|]"
.RI "[\| " file " \|]"
.SH DESCRIPTION
.B hxunxmlns
is the reverse of
.BR hxxmlns (1).
It converts element and attribute names of the form
.d
<{URL1}foo {URL2}bar="...">
.e
to
.d
<foo xmlns="URL1" xmlns:x="URL2" x:bar="...">
.e
.PP
The predefined XML Namespace is recognized and replaced by the prefix "xml:".
.SH "DIAGNOSTICS"
The following exit values are returned:
.TP 10
.B 0
Successful completion.
.TP
.B > 0
One or more errors occurred in the parsing of the file.
.SH "SEE ALSO"
.BR hxxmlns (1)
.SH BUGS
.LP
The error recovery for incorrect XML is primitive.