File: xmlstarlet.1

package info (click to toggle)
xmlstarlet 1.0.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 2,164 kB
  • ctags: 389
  • sloc: ansic: 4,578; sh: 3,109; xml: 1,821; makefile: 92
file content (108 lines) | stat: -rw-r--r-- 2,202 bytes parent folder | download | duplicates (4)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "XMLSTARLET" 1 "" "" "xmlstarlet Manual"
.SH NAME
xmlstarlet \- command line XML/XSLT toolkit
.SH "SYNOPSIS"
.ad l
.hy 0
.HP 11
\fBxmlstarlet\fR [\fB\fI<options>\fR\fR] [\fB\fI<command>\fR\fR] [\fB\fI<cmd\-options>\fR\fR]
.ad
.hy

.SH "INTRODUCTION"

.PP
XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands\&. This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts\&.

.SH "OPTIONS"

.TP
\fB\-\-version\fR
Display the version of xmlstarlet\&.

.TP
\fB\-\-help\fR
Display help\&.

.SH "COMMANDS"

.PP
Type: xml <command> \-\-help <ENTER> for command help

.PP
Available commands include:

.TP
\fBed (or edit)\fR
Edit/update XML document(s)\&.

.TP
\fBsel (or select)\fR
Select data or query XML document(s) (XPATH, etc)\&.

.TP
\fBtr (or transform)\fR
Transform XML documents(s) using XSLT\&.

.TP
\fBval (or validate)\fR
Validate XML document(s) (well\-formed/DTD/XSD/RelaxNG)\&.

.TP
\fBfo (or format)\fR
Format XML document(s)\&.

.TP
\fBel (or elements)\fR
Display element structure of XML document\&.

.TP
\fBc14n (or canonic)\fR
XML canonicalization\&.

.TP
\fBls (or list)\fR
List directory as XML\&.

.TP
\fBesc (or escape)\fR
Escape special XML characters\&.

.TP
\fBunesc (or unescape)\fR
Unescape special XML characters\&.

.TP
\fBpyx (or xmln)\fR
Convert XML into PYX format (based on ESIS \- ISO 8879)\&.

.TP
\fBp2x (or depyx)\fR
Convert PYX into XML\&.

.SH "REFERENCES"

.PP
XMLStarlet is a command line toolkit to query/edit/check/transform XML documents (for more information see http://xmlstar\&.sourceforge\&.net/)\&.

.SH AUTHOR
Mikhail Grushinskiy.