XMLStarlet

XMLStarlet
Original author(s) Dagobert Michelsen, Noam Postavsky, Mikhail Grushinskiy
Initial release 8 February 2005 (2005-02-08)
Stable release 1.6.1 / 9 August 2014 (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

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


This article is issued from Wikipedia - version of the Monday, February 22, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.