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
- Host: GitHub
- URL: https://github.com/ericchiang/xpup
- Owner: ericchiang
- License: apache-2.0
- Created: 2015-07-09T17:21:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2021-12-26T18:52:57.000Z (over 4 years ago)
- Last Synced: 2025-03-15T07:54:26.100Z (over 1 year ago)
- Language: Go
- Size: 1.03 MB
- Stars: 71
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!
```