1XMLSTARLET(1) XMLStarlet Manual XMLSTARLET(1)
2
3
4
6 xmlstarlet - command line XML/XSLT toolkit
7
9 xml [options...] {command} [cmd-options...]
10
12 XMLStarlet is a set of command line utilities (tools) which can be used
13 to transform, query, validate, and edit XML documents and files using
14 simple set of shell commands in similar way it is done for plain text
15 files using UNIX grep, sed, awk, diff, patch, join, etc commands. This
16 set of command line utilities can be used by those who deal with many
17 XML documents on UNIX shell command prompt as well as for automated XML
18 processing with shell scripts.
19
21 --version
22 Display the version of xmlstarlet.
23
24 --help
25 Display help.
26
28 xml command --help for command specific help
29
30 Available commands include:
31
32 ed (or edit)
33 Edit/update XML document(s).
34
35 sel (or select)
36 Select data or query XML document(s) (XPATH, etc).
37
38 tr (or transform)
39 Transform XML documents(s) using XSLT.
40
41 val (or validate)
42 Validate XML document(s) (well-formed/DTD/XSD/RelaxNG).
43
44 fo (or format)
45 Format XML document(s).
46
47 el (or elements)
48 Display element structure of XML document.
49
50 c14n (or canonic)
51 XML canonicalization.
52
53 ls (or list)
54 List directory as XML.
55
56 esc (or escape)
57 Escape special XML characters.
58
59 unesc (or unescape)
60 Unescape special XML characters.
61
62 pyx (or xmln)
63 Convert XML into PYX format (based on ESIS - ISO 8879).
64
65 p2x (or depyx)
66 Convert PYX into XML.
67
69 XMLStarlet is a command line toolkit to query/edit/check/transform XML
70 documents (for more information see http://xmlstar.sourceforge.net/).
71
73 Report bugs to the mailing list, xmlstar-devel@lists.sourceforge.net or
74 the bug tracker:
75 http://sourceforge.net/tracker/?group_id=66612&atid=515106.
76
78 Mikhail Grushinskiy
79 XMLStarlet creator.
80
82 Copyright © 2012
83
84
85
86Version 1.4.0 08/26/2012 XMLSTARLET(1)