File: xmlstarlet.1

package info (click to toggle)
xmlstarlet 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,412 kB
  • ctags: 656
  • sloc: sh: 4,735; ansic: 4,183; xml: 1,936; makefile: 70; awk: 43
file content (136 lines) | stat: -rw-r--r-- 3,473 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
'\" t
.\"     Title: xmlstarlet
.\"    Author: Mikhail Grushinskiy
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/26/2012
.\"    Manual: XMLStarlet Manual
.\"    Source: Version 1.4.0
.\"  Language: English
.\"
.TH "XMLSTARLET" "1" "08/26/2012" "Version 1.4.0" "XMLStarlet Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
xmlstarlet \- command line XML/XSLT toolkit
.SH "SYNOPSIS"
.HP \w'\fBxml\fR\ 'u
\fBxml\fR [\fIoptions\fR...] {\fIcommand\fR} [\fIcmd\-options\fR...]
.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"
.PP
\fB\-\-version\fR
.RS 4
Display the version of
xmlstarlet\&.
.RE
.PP
\fB\-\-help\fR
.RS 4
Display help\&.
.RE
.SH "COMMANDS"
.PP
\fBxml\fR
\fIcommand\fR
\fB\-\-help\fR
for command specific help
.PP
Available commands include:
.PP
\fBed (or edit)\fR
.RS 4
Edit/update XML document(s)\&.
.RE
.PP
\fBsel (or select)\fR
.RS 4
Select data or query XML document(s) (XPATH, etc)\&.
.RE
.PP
\fBtr (or transform)\fR
.RS 4
Transform XML documents(s) using XSLT\&.
.RE
.PP
\fBval (or validate)\fR
.RS 4
Validate XML document(s) (well\-formed/DTD/XSD/RelaxNG)\&.
.RE
.PP
\fBfo (or format)\fR
.RS 4
Format XML document(s)\&.
.RE
.PP
\fBel (or elements)\fR
.RS 4
Display element structure of XML document\&.
.RE
.PP
\fBc14n (or canonic)\fR
.RS 4
XML canonicalization\&.
.RE
.PP
\fBls (or list)\fR
.RS 4
List directory as XML\&.
.RE
.PP
\fBesc (or escape)\fR
.RS 4
Escape special XML characters\&.
.RE
.PP
\fBunesc (or unescape)\fR
.RS 4
Unescape special XML characters\&.
.RE
.PP
\fBpyx (or xmln)\fR
.RS 4
Convert XML into PYX format (based on ESIS \- ISO 8879)\&.
.RE
.PP
\fBp2x (or depyx)\fR
.RS 4
Convert PYX into XML\&.
.RE
.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 "BUGS"
.PP
Report bugs to the mailing list,
xmlstar\-devel@lists\&.sourceforge\&.net
or the bug tracker:
\m[blue]\fB\%http://sourceforge.net/tracker/?group_id=66612&atid=515106\fR\m[]\&.
.SH "AUTHOR"
.PP
\fBMikhail Grushinskiy\fR
.RS 4
XMLStarlet creator\&.
.RE
.SH "COPYRIGHT"
.br
Copyright \(co 2012
.br