Uzoma Ojemeni <uojemeni at gmail.com> writes: ... One easy option would be to use the "XPath" support in the "lxml" package -- provided you have not problem with the installation of external libraries ("libxml2" and "libxslt") and C-extensions ("lxml").