Re: python - firefox dom/xpath question/issue

2008-08-25 Thread Diez B. Roggisch
bruce schrieb: Hi. Got a test web page, that basically has two " . . . I've simplified things a bit... but basically, the 1st "html/body" is empty, with the 2nd containing the data/nodes I need. If that's your document, it is invalid XML - XML only allows *one* root. Thus the parsers

python - firefox dom/xpath question/issue

2008-08-25 Thread bruce
Hi. Got a test web page, that basically has two " . . . I've simplified things a bit... but basically, the 1st "html/body" is empty, with the 2nd containing the data/nodes I need. In using xpath("/html/body/form"), the app returns nothing/crashes.. I've tried to do something like xpath("