[me]
> >>> print tree.findtext("html/head/title")
> None
I realised what the problem was the second after I hit Send (why is it
never the second *before*?) The tree represents the top-level <html>
element, so of course searching within it for 'html' fails. What I should
say is this:
>>> print tree.findtext("head/title")
The title
Sorry to waste people's time!
--
Richie Hindle
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
