Debian Codegraph @

doc/xmlstarlet.1

raw
1 '\" t
2 .\" Title: xmlstarlet
3 .\" Author: Mikhail Grushinskiy
4 .\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
5 .\" Date: 08/26/2012
6 .\" Manual: XMLStarlet Manual
7 .\" Source: Version 1.4.0
8 .\" Language: English
9 .\"
10 .TH "XMLSTARLET" "1" "08/26/2012" "Version 1.4.0" "XMLStarlet Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 xmlstarlet \- command line XML/XSLT toolkit
32 .SH "SYNOPSIS"
33 .HP \w'\fBxml\fR\ 'u
34 \fBxml\fR [\fIoptions\fR...] {\fIcommand\fR} [\fIcmd\-options\fR...]
35 .SH "INTRODUCTION"
36 .PP
37 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\&.
38 .SH "OPTIONS"
39 .PP
40 \fB\-\-version\fR
41 .RS 4
42 Display the version of
43 xmlstarlet\&.
44 .RE
45 .PP
46 \fB\-\-help\fR
47 .RS 4
48 Display help\&.
49 .RE
50 .SH "COMMANDS"
51 .PP
52 \fBxml\fR
53 \fIcommand\fR
54 \fB\-\-help\fR
55 for command specific help
56 .PP
57 Available commands include:
58 .PP
59 \fBed (or edit)\fR
60 .RS 4
61 Edit/update XML document(s)\&.
62 .RE
63 .PP
64 \fBsel (or select)\fR
65 .RS 4
66 Select data or query XML document(s) (XPATH, etc)\&.
67 .RE
68 .PP
69 \fBtr (or transform)\fR
70 .RS 4
71 Transform XML documents(s) using XSLT\&.
72 .RE
73 .PP
74 \fBval (or validate)\fR
75 .RS 4
76 Validate XML document(s) (well\-formed/DTD/XSD/RelaxNG)\&.
77 .RE
78 .PP
79 \fBfo (or format)\fR
80 .RS 4
81 Format XML document(s)\&.
82 .RE
83 .PP
84 \fBel (or elements)\fR
85 .RS 4
86 Display element structure of XML document\&.
87 .RE
88 .PP
89 \fBc14n (or canonic)\fR
90 .RS 4
91 XML canonicalization\&.
92 .RE
93 .PP
94 \fBls (or list)\fR
95 .RS 4
96 List directory as XML\&.
97 .RE
98 .PP
99 \fBesc (or escape)\fR
100 .RS 4
101 Escape special XML characters\&.
102 .RE
103 .PP
104 \fBunesc (or unescape)\fR
105 .RS 4
106 Unescape special XML characters\&.
107 .RE
108 .PP
109 \fBpyx (or xmln)\fR
110 .RS 4
111 Convert XML into PYX format (based on ESIS \- ISO 8879)\&.
112 .RE
113 .PP
114 \fBp2x (or depyx)\fR
115 .RS 4
116 Convert PYX into XML\&.
117 .RE
118 .SH "REFERENCES"
119 .PP
120 XMLStarlet is a command line toolkit to query/edit/check/transform XML documents (for more information see http://xmlstar\&.sourceforge\&.net/)\&.
121 .SH "BUGS"
122 .PP
123 Report bugs to the mailing list,
124 xmlstar\-devel@lists\&.sourceforge\&.net
125 or the bug tracker:
126 \m[blue]\fB\%http://sourceforge.net/tracker/?group_id=66612&atid=515106\fR\m[]\&.
127 .SH "AUTHOR"
128 .PP
129 \fBMikhail Grushinskiy\fR
130 .RS 4
131 XMLStarlet creator\&.
132 .RE
133 .SH "COPYRIGHT"
134 .br
135 Copyright \(co 2012
136 .br