The Artima Developer Community
Sponsored Link

Java Buzz Forum
XMLStarlet Rocks!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brian McCallister

Posts: 1282
Nickname: frums
Registered: Sep, 2003

Brian McCallister is JustaProgrammer who thinks too much.
XMLStarlet Rocks! Posted: May 12, 2005 8:42 AM
Reply to this message Reply

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
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time

Advertisement

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!

Read: XMLStarlet Rocks!

Topic: Google Web Accelerator: Gather Human Stats Previous Topic   Next Topic Topic: Fine-grained treats = user happiness

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use