Skip to content

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

Security policy

Stars

71 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages