Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Command-line tool pretty-print XML with xpath

Project Description

Command-line tool to validate and pretty-print XML.

Setup

# Install through pip
pip install ppxml

# Install through git
pip install git+https://github.com/h2rd/ppxml

# or without cache
cd /tmp
git clone https://github.com/h2rd/ppxml
cd ppxml
python setup.py install

Examples

Just prettify and colorize xml code:

curl http://feeds.bbci.co.uk/news/rss.xml | ppxml

Use xpath for get some elements:

curl http://feeds.bbci.co.uk/news/rss.xml | ppxml -x "//item"

Use xpath for get deeper elements:

curl http://feeds.bbci.co.uk/news/rss.xml | ppxml -x "//item/title"
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ppxml-0.1.0.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting