This post originated from an RSS feed registered with Java Buzz
by Brian McCallister.
Original Post: XMLStarlet Rocks!
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Just found a pointer to XMLStarlet via Tom Moertel. Basically is a command line xml chainsaw -- lots of description, querying, transform, munging, etc capabilities for xml right on the command line, for example:
brianm@kite:~/src/jdbi$ xml sel -t -m 'project/target' \
-v '@name' \
-o ' : ' \
-v '@description' \
-n
./build.xml
compile : Compile all Source Files
compile-tests : Build source for unit tests
jar : Build Jar Library
clean : Remove All Artifacts
test : Run all junit tests
javadoc : Generate API Documentation
release :
site :
brianm@kite:~/src/jdbi$
Which I already received grief on as being easier to do via ant -p -- but the point is to make an example with an xml format folks are very familia with =)
Installable via fink =) Rumor has it that it even works on Windoze!