in reply to Re: Looking for a XPATH-like tool for HTML documents
in thread Looking for a XPATH-like tool for HTML documents

I just scribbled up a command piping tidy and xpath into 'hpath'.

#!/bin/sh # hpath foo.html /path tidy -asxhtml -numeric $1 2>/dev/null | xpath $2

Hope it helps. Thanks