BASEURL=http://dl.dropbox.com/sh/7y1yn4whbyho9a7 wget --no-host-directories --force-directories --cut-dirs=4 \ ${BASEURL}/4LSW_AyETz/release/xmlstarlet/setup.hint \ ${BASEURL}/V8ZnZOZ0w3/release/xmlstarlet/xmlstarlet-1.4.1-1-src.tar.bz2 \ ${BASEURL}/H9xV7bQaUN/release/xmlstarlet/xmlstarlet-1.4.1-1.tar.bz2 \ ${BASEURL}/hjfTPA0opL/release/xmlstarlet/xmlstarlet-debuginfo/setup.hint \ ${BASEURL}/aPUd1x_gwm/release/xmlstarlet/xmlstarlet-debuginfo/xmlstarlet-debuginfo-1.4.1-1.tar.bz2
XMLStarlet [1] 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 similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands.
It is found in many popular Linux distros [2]. Cheers, Dave. [1] http://xmlstar.sourceforge.net/ [2] http://pkgs.org/search/?keyword=xmlstarlet