Skip to content

ericchiang/xpup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages