HOME | Blog | Software | Reviews and Features | Forum | Help | Donate
Click here to
donate and join now!
Welcome Guest.   Make a donation to an author on the site March 28, 2015, 11:06:09 AM  *

Please login or register.
Or did you miss your validation email?

Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: xml-coreutils: a collection of Unix/POSIX command line tools for processing XML  (Read 1994 times)
Honorary Member
Posts: 2,580

View Profile Give some DonationCredits to this forum member
« on: May 19, 2012, 06:28:55 AM »

After not getting along so well with XML Starlet, came across xml-coreutils:

The aim is to make XML processing for shell users exactly as easy as text processing.

Commands include:

xml-cat(1) concatenate XML files and print XML on the standard output.
xml-cp(1) copy nodes from XML files into an XML file.
xml-cut(1) print selected parts of an XML file as an XML file.
xml-echo(1) generate an XML file on the standard output.
xml-file(1) determine type of XML files.
xml-find(1) search for nodes in XML files and execute actions.
xml-fixtags(1) convert HTML into XML on the standard output.
xml-fmt(1) reformat an XML file, writing to the standard output.
xml-grep(1) print matching fragments as an XML file on the standard output.
xml-head(1) truncate the parts of an XML document.
xml-less(1) interactively display an XML file on a terminal.
xml-ls(1) list the contents of an XML file.
xml-mv(1) move nodes from XML files to an XML file or the standard output.
xml-printf(1) format and print data in an XML file to the standard output.
xml-rm(1) remove nodes from XML files.
xml-sed(1) stream editor for filtering and transforming an XML file.
xml-strings(1) print the strings of data in an XML file to the standard output.
xml-unecho(1) ungenerate an XML file into an xml-echo(1) expression.
xml-wc(1) print height, depth and number of tags for each XML file.

The tutorial seems to be a decent introduction -- it seemed to touch on most (if not all) of the aforementioned.


This project is still at an early stage, and is not ready for production use. However, it is usable today for simple tasks, and you can try it out right now by clicking one of the download buttons on the left.
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.027s | Server load: 0.09 ]