From Wikipedia, the free encyclopedia
Jump to: navigation, search
Original author(s) Dagobert Michelsen, Noam Postavsky, Mikhail Grushinskiy
Initial release 8 February 2005; 11 years ago (2005-02-08)
Stable release
1.6.1 / 9 August 2014; 2 years ago (2014-08-09)
Written in C
Operating system Unix-like, Windows, CygWin, Mac OS
Type XML parser
License MIT License
Website xmlstar.sourceforge.net

XMLStarlet is a command-line XML utility which allows the modification and validation of XML documents.

It is released under an MIT License.

Example usage[edit]

An XML document can be validated against an XSD schema as follows:

xmlstarlet val -e -s my.xsd my.xml

One can extract element definitions or their values, selecting them with XPath notation:

xmlstarlet sel -t -v 'html/head/title' some.xml

External links[edit]