lxml-xpath-tester is a simple django app that uses lxml to test your XPath queries.
It's designed to be rough, but robust, so don't expect it to be pretty.
This can be seen live at http://xpath.courtlistener.com
Make sure you have lxml and Django installed.
Then just clone this repository somewhere, and use Django's server to run it.
mkdir xpathtester
cd xpathtester
git clone https://github.com/mlissner/lxml-xpath-tester.git .
./manage.py runserver
That'll start Django's server. From there, just go to localhost:8000 in your browser, and you'll be off and running.
Are welcome.
This is licensed under the permissive BSD license.