Xpath for HTML processing

bruce bedouglas at earthlink.net
Thu Sep 4 09:26:08 EDT 2008


Hi Astley

I can probably help here. Can you tell me exactly what you're trying to
accomplish.

the xpath query that you listed can be processed using libxml2dom (and a
fewo other libs)

are you looking to parse a web page, an xml doc, etc...

let me know, and we'll see if we can help



-----Original Message-----
From: python-list-bounces+bedouglas=earthlink.net at python.org
[mailto:python-list-bounces+bedouglas=earthlink.net at python.org]On Behalf
Of Astley Le Jasper
Sent: Thursday, September 04, 2008 6:17 AM
To: python-list at python.org
Subject: Xpath for HTML processing


Can anyone suggest something inthat can process an XPath like the
following:

"/html/body/table[2]/tbody/tr/td[5]/table/tbody/tr[3]/td/table[3]/
tbody/tr[5]/td"

Cheers

--
http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list