Xpath for HTML processing

Discussion in 'Python' started by Astley Le Jasper, Sep 4, 2008.

  1. 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
    Astley Le Jasper, Sep 4, 2008
    #1
    1. Advertising

  2. Astley Le Jasper wrote:
    > 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"


    [skipping the obvious joke answer to your question]

    In case you're asking for a tool that can process HTML using XPath, try lxml.html.

    http://codespeak.net/lxml

    Stefan
    Stefan Behnel, Sep 4, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marvin_123456

    "Memory leak" in javax.xml.xpath.XPath

    Marvin_123456, Jul 29, 2005, in forum: Java
    Replies:
    4
    Views:
    1,964
    jan V
    Jul 29, 2005
  2. Alastair Cameron
    Replies:
    1
    Views:
    7,391
    SQL Server Development Team [MSFT]
    Jul 8, 2003
  3. Anna
    Replies:
    0
    Views:
    519
  4. goog
    Replies:
    0
    Views:
    504
  5. Hubert Hung-Hsien Chang
    Replies:
    2
    Views:
    427
    Michael Foord
    Sep 17, 2004
Loading...

Share This Page