1XMLSTARLET(1) xmlstarlet Manual XMLSTARLET(1)
2
3
4
6 xmlstarlet - command line XML/XSLT toolkit
7
9 xmlstarlet [<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 Type: xml <command> --help <ENTER> for command 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 Mikhail Grushinskiy
74 Author.
75
77 Copyright © 2004
78
79
80
81This is release 0.9.1 of the x 10/03/2011 XMLSTARLET(1)