patrick vrijlandt added the comment: To be complete: an xpath 'above' the start element returns None Thanks for the patch! ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue12322> _______________________________________