The best in command line xml: XMLStarlet
2010-06-08
97 words
1 min read
<a href="http://bashcurescancer.com/the-best-in-command-line-xml-xmlstarlet.html">Quite some time ago I wrote about using xsltproc to process xml on the command line. Thank fully someone pointed out XMLStarlet.? I now use XMLStarlet almost every day.? I work with a variety of REST based API’s gather information. XMLStartlet along with a simple for loop or xargs gives …
If you are on fedora then you can use xmlstarlet in the following way. First install the package:
sudo yum install xmlstartlet
Now, you can replace xml with xmlstarlet in the examples given in the above post. You can try the script below:
<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/09/get_page_links.sh">get_page_links
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.