For general use (depending on what you're trying to do) this is probably the best way to do xpaths for HTML/CSS: HTML::Selector::XPath, though it's not the same as the OP's code, it takes CSS selectors and turns them into xpath expressions.
In reply to Re^2: htmltreexpather.pl - xpath helper, creates xpath search strings from html
by Your Mother
in thread htmltreexpather.pl - xpath helper, creates xpath search strings from html
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |