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
In reply to Re^2: Looking for a XPATH-like tool for HTML documents
by xern
in thread Looking for a XPATH-like tool for HTML documents
by xern
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |