Skip to content
SuperCowProductsPublic
forked from ericchiang/xpup

About

A command line XML parsing tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xpup

xpup is pup for XML.

It uses xpath rather than css selectors.

Install

go get github.com/ericchiang/xpup

Binary installs coming soon.

Example

$ curl -s http://www.xmlfiles.com/examples/note.xml
<?xml version="1.0" encoding="ISO8859-1" ?>
<note>
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>
$ curl -s http://www.xmlfiles.com/examples/note.xml | xpup '/*/body'
Don't forget me this weekend!

About

A command line XML parsing tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages