Tweak to the XHtmlParser code

Still can't cope with multiple nodes, though.