This post originated from an RSS feed registered with Java Buzz
by Vik David.
Original Post: Command line xpath script
Feed Title: The Fair And Biased Blog
Feed URL: http://blog.vikdavid.com/index.rdf
Feed Description: On Software Development and related program activities ...
Here's a script I've been using to run XPath queries from the command line. It's handy for unit testing. If your code does a lot of XPath stuff, it'll be useful to unit test the query without running the whole program. The script shown here is simple, free, and only requires the free Ruby runtime. .S0 { color: #808080; } .S1 { font-family: 'Comic Sans MS'; color: #007F00; font-size: 9pt; } .S2 { color: #007F7F; } .S3 { font-family: 'Courier New'; color: #7F007F; font-size: 10pt; } .S4 { font-family: 'Courier...