An open API service indexing awesome lists of open source software.

https://github.com/ericchiang/xpup

A command line XML parsing tool
https://github.com/ericchiang/xpup

Last synced: over 1 year ago
JSON representation

A command line XML parsing tool

Awesome Lists containing this project

README

          

# 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

Tove
Jani
Reminder
Don't forget me this weekend!

```

```
$ curl -s http://www.xmlfiles.com/examples/note.xml | xpup '/*/body'
Don't forget me this weekend!
```