From TEIWiki

Jump to: navigation, search



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 an analogous way to operating on text files using Unix commands like grep, sed, awk, diff, and join.


See XMLStarlet home page

User commentary

Please sign all comments.

System requirements

Windows, any Unix-ish system that can compile source code. Binaries are available for Windows, and RPM's for Linux. The Windows binaries include all necessary libraries; on Unix systems, you will need to have the libxml and libxslt libraries installed.

Source code and licensing

Open-source, MIT license

Support for TEI

No TEI-specific features.


Program written in C; documentation and interface in English only.



Tech support

No tech support other than a Sourceforge forum

User community

See Sourceforge forum

Current version number and date of release

1.0.1, 15 March 2005

History of versions

1.0 release, 28 January 2005

How to download or buy

Sourceforge Download page

HTTP download directory

Additional notes

XMLStarlet is a "Swiss army knife" XML tool. It is particularly useful for doing quick ad-hoc searches and transformations; it basically allows you to create simple command-line XSLT scripts and XPath queries. Its syntax does take a bit of getting used to, and it can be tricky to get the nesting of double and single quotation marks right in order to escape XPath syntax so that special characters are not parsed by the shell. It does not support XPath 2.0 or XSLT 2.0 (a limitation of the underlying libxml library). --DavidSewell 14:46, 15 March 2007 (GMT)

Personal tools